Skip to content

Commit

Permalink
Merge pull request #1589 from AkihiroSuda/vz-remove-audio-input
Browse files Browse the repository at this point in the history
vz: remove audio input
  • Loading branch information
AkihiroSuda authored May 28, 2023
2 parents cc0caca + 5821a03 commit 1e891ed
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/vz/vm_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,15 +573,11 @@ func attachAudio(driver *driver.BaseDriver, config *vz.VirtualMachineConfigurati
if err != nil {
return err
}
inputStream, err := vz.NewVirtioSoundDeviceHostInputStreamConfiguration()
if err != nil {
return err
}
soundDeviceConfiguration, err := vz.NewVirtioSoundDeviceConfiguration()
if err != nil {
return err
}
soundDeviceConfiguration.SetStreams(outputStream, inputStream)
soundDeviceConfiguration.SetStreams(outputStream)
config.SetAudioDevicesVirtualMachineConfiguration([]vz.AudioDeviceConfiguration{
soundDeviceConfiguration,
})
Expand Down

0 comments on commit 1e891ed

Please # to comment.