Re: problem setting volume using AudioQueueEnqueueBuffersWithParameters
Re: problem setting volume using AudioQueueEnqueueBuffersWithParameters
- Subject: Re: problem setting volume using AudioQueueEnqueueBuffersWithParameters
- From: William Stewart <email@hidden>
- Date: Wed, 18 Feb 2009 13:01:10 -0800
If you can file a bug with a short test case we can have a look at it
Thanks Mark
Bill
On Feb 18, 2009, at 4:51 AM, mister T wrote:
Hello, this problem is bugging me for quite some time now. According
to the docs you can set the volume of a queue on the buffer level by
passing the buffer a audioqueueparameterevent while using
AudioQueueEnqueueBuffersWithParameters. This should be very simple,
yet it isn't working in my code.
My code:
AudioQueueParameterEvent theEvent;
theEvent.mID=kAudioQueueParam_Volume;
theEvent.mValue=1;
Then I set inNumParamValues to 1 and &theEvent to *inParamValues
parameter of the AudioQueueEnqueueBuffersWithParameters function. I
don't get any osstatus error back from the buffer function, besides
that there couldn't go much wrong here I would say. If anyone can give
me some advice about this matter, it would be very appreciated.
Mark Toots
_______________________________________________
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