problem setting volume using AudioQueueEnqueueBuffersWithParameters
problem setting volume using AudioQueueEnqueueBuffersWithParameters
- Subject: problem setting volume using AudioQueueEnqueueBuffersWithParameters
- From: mister T <email@hidden>
- Date: Wed, 18 Feb 2009 13:51:53 +0100
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