Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue
Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue
- Subject: Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue
- From: William Stewart <email@hidden>
- Date: Thu, 19 Nov 2009 13:55:41 -0800
At this point you can't. Once you provide the audio data to an AQ object, it goes out pretty much as provided. We're considering addressing this at some point
Bill
On Nov 19, 2009, at 1:44 PM, Alexander Saal wrote:
> Hi Adam Fox,
>
> > Yay I have finally figured this out. What a relief :) If anyone needs
> > help getting the same thing working you can contact me :)
>
> > ps. Sorry Jens for mailing you personally I believed I was replying to
> > the mailing list..
>
> Thanks for your help.
>
> Now my question:
> It is possible to get the associated audio unit output device from the current running Audio Queue? If it's possible, how I can connect a equalizer to this?
>
> Like that:
>
> AudioComponentDescription cd;
> memset(&cd,0,sizeof(AudioComponentDescription));
> cd.componentFlags = 0;
> cd.componentFlagsMask = 0;
> cd.componentManufacturer = kAudioUnitManufacturer_Apple;
> cd.componentType=kAudioUnitType_Effect;
> cd.componentSubType=kAudioUnitSubType_GraphicEQ;
>
> .....
>
> AudioUnitParameterValue auParam = 0;
> error = AudioUnitGetParameter( equalizerAudioUnit, kGraphicEQParam_NumberOfBands, kAudioUnitScope_Global, 0, &auParam );
> // auParam: 0 => 10 Band equalizer
> // auParam: 1 => 31 Band equalizer (default?)
> error = AudioUnitSetParameter( equalizerAudioUnit, kGraphicEQParam_NumberOfBands, kAudioUnitScope_Global, 0, 1, 0 ); // Set 31-bands eq....
>
>
> I need that for changing dB on each frequencies.
>
> Thanks in advance
> Alexander S.
> _______________________________________________
> 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
_______________________________________________
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