Re: Adjusting AudioQueue volume
Re: Adjusting AudioQueue volume
- Subject: Re: Adjusting AudioQueue volume
- From: Thomas Clement <email@hidden>
- Date: Wed, 30 Jul 2008 12:08:05 +0200
On Jul 30, 2008, at 11:19 AM, Erik Aigner wrote: Hi, im adjusting the output volume of an AudioQueue during playback with
AudioQueueSetParameter(qData.mQueue, kAudioQueueParam_Volume, mVolume);
But when i do this continuously (with a slider) for a certain time the playback stops/breaks. Any idea how i can resolve this?
Hi,
I think there is a bug when setting the volume while the audio queue is stopped (bug report 6052270). For example: 1 - audio queue is stopped 2 - set volume to 0.1 3 - start the audio queue 4 - set volume to 1.0
In step 4 the volume is actually much lower than 1.0.
This may be related to your problem. Depending on the volume you set at step 2, the volume can be near zero at step 4. You should see if you're changing the volume while the audio queue is stopped.
Thomas
|
_______________________________________________
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