Re: Allowing a user-space driver to be the default system
Re: Allowing a user-space driver to be the default system
- Subject: Re: Allowing a user-space driver to be the default system
- From: Stéphane Letz <email@hidden>
- Date: Thu, 31 Mar 2005 16:26:49 +0200
>>I don't understand here. When using HALLab, I see that "Built-in
audio" can be hogged. What do you mean by "they can't be hogged"?
>>I mean that hog mode can't be owned by any process for the given
device.
>>My device *can* be selected as a default input/output/system using
HALLAB and when i select it as default input/output/system, the
>>vproperty is notified to already running CoreAudio application that
correctly switch to my device.
>>The only thing that does not work is that the "my device as default
input/output/system" state is not properly saved in the system.
>> What else should I check?
>> The HAL stores the default device's UID in the user's preferences.
Is the UID of your device always the same? If not, the HAL would not
>>be able to match what it stored in the prefs with your device.
My device defines an UID (implements the kAudioDevicePropertyDeviceUID
property). The kAudioHardwarePropertyDeviceForUID was lacking, I
implemented it also but it still does not work.
The UID seems to work correctly because I can select my device in
AudioMidi setup " Property of ...." then the UID is correctly saved
(and restored) in the com.apple.audio.AudioMIDISetup.plist file.
What is the file for the "user's preference" , I was not able to find
it.
>> Is there a precise list of error code that would have to be returned
for each property?
>> There really isn't much in the way of documentation for what you are
doing at all.
Another reason to have a SDK for AudioHarwarePlugIn.h based drivers....
in the future .... (-:
Thanks
Regards
Stephane Letz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden