Re: Getting SampleHardwarePlugin to work for default device
Re: Getting SampleHardwarePlugin to work for default device
- Subject: Re: Getting SampleHardwarePlugin to work for default device
- From: Jared Sohn <email@hidden>
- Date: Tue, 07 Aug 2012 02:30:23 -0700 (PDT)
On Tuesday, August 7, 2012 1:53:48 AM UTC-7, Stéphane Letz wrote:
>Nope: only processes that use the CoreAudio API will load this plugin. Said differently the CoreAudio framework will load the plugin for you.
Does every application that makes sound use the CoreAudio API? I just ran iTunes and GarageBand and played some sound but my logging didn't show anything for either program. Is there a particular application that I should try (I'll try googling for some CoreAudio sample programs in a moment.)
>Hum... but how is your version of SampleHardwarePlugin going to handle the audio streams ? SampleHardwarePlugin is supposed to retrieve audio from the audio application and do something with it. I don't see how only changing the volume is going to work.
As I mentioned in my original post, I have changed SampleHardwarePlugin to act as the default device. I am hoping that I can have the code iterate over whichever audio streams already exist and retrieve the current state or allow changing it.
I am not absolutely sure if I am going about this the right way, but I know that what I want to do is possible. Among other things, the 'Hear' application (http://www.prosofteng.com/products/hear.php) allows a user to change the volume separately for each process and the product includes a HAL plug-in, which I presume helps to enable this.
Jared
_______________________________________________
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