- Timestamp:
- Oct 20, 2016 2:03:29 PM (8 years ago)
- Location:
- trunk/src/VBox/ValidationKit/testdriver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r64190 r64332 1908 1908 reporter.log(" AudioController: %s" % (sType)); 1909 1909 reporter.log(" AudioEnabled: %s" % (oAudioAdapter.enabled)); 1910 if oAudioAdapter.audioDriver == vboxcon.AudioDriverType_CoreAudio: sType = "CoreAudio"; 1911 elif oAudioAdapter.audioDriver == vboxcon.AudioDriverType_DirectSound: sType = "DirectSound"; 1912 elif oAudioAdapter.audioDriver == vboxcon.AudioDriverType_Pulse: sType = "PulseAudio"; 1913 elif oAudioAdapter.audioDriver == vboxcon.AudioDriverType_OSS: sType = "OSS"; 1914 elif oAudioAdapter.audioDriver == vboxcon.AudioDriverType_Null: sType = "NULL"; 1915 else: sType = "unknown %s" % (oAudioAdapter.audioDriver); 1916 reporter.log(" Host AudioDriver: %s" % (sType)); 1910 1917 1911 1918 self.processPendingEvents(); -
trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
r63761 r64332 2029 2029 2030 2030 oAudioAdapter.audioController = eAudioCtlType; 2031 oAudioAdapter.audioDriver = vboxcon.AudioDriverType_Null; 2031 2032 sHost = utils.getHostOs() 2033 if sHost == 'darwin': oAudioAdapter.audioDriver = vboxcon.AudioDriverType_CoreAudio; 2034 elif sHost == 'win': oAudioAdapter.audioDriver = vboxcon.AudioDriverType_DirectSound; 2035 elif sHost == 'linux': oAudioAdapter.audioDriver = vboxcon.AudioDriverType_Pulse; 2036 elif sHost == 'solaris': oAudioAdapter.audioDriver = vboxcon.AudioDriverType_OSS; 2037 else: 2038 reporter.error('Unsupported host "%s".' % (sHost,)); 2039 oAudioAdapter.audioDriver = vboxcon.AudioDriverType_Null; 2040 2032 2041 # Disable by default 2033 2042 oAudioAdapter.enabled = False;
Note:
See TracChangeset
for help on using the changeset viewer.