handed / audirvana

Automatically exported from code.google.com/p/audirvana
0 stars 0 forks source link

Fail to set Hog mode should not be considered as fatal #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. set exclusive access mode on device in pref pane  
2.  play a file 
3. if the driver does not support hog mode, audirvana refuses quietly to play 
any sound

What is the expected output? 
- disable the pref in pref pane for device that does not support exclusive mode
- do not consider set hog mode failure as fatal and play the file

What version of the product are you using? On what operating system?
0.4.1 on 10.6.5 with external tascam us-122mkII sound card (last driver version)

Please provide any additional information below.
some tests with this particular device have shown the following:
- reading current hog mode does not return err, 
- the hog mode property appears to be settable (AudioObjectIsPropertySettable) 
- when a set attempt is made using any scope (global, output...) it returns  
kAudioHardwareUnknownPropertyError 

Original issue reported on code.google.com by emmanuel...@gmail.com on 30 Dec 2010 at 10:59

GoogleCodeExporter commented 8 years ago
I've added a nicer fallback in this case in svn #62.
It should play the file, even if unable to hog a device (not currently hogged 
by another app)

Original comment by au.damie...@gmail.com on 23 Jan 2011 at 1:09