• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problem setting volume using AudioQueueEnqueueBuffersWithParameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >problem setting volume using AudioQueueEnqueueBuffersWithParameters (From: mister T <email@hidden>)

  • Prev by Date: Re: Graph for Audio Data
  • Next by Date: Re: Loop Audio on iPhone (Jorge Peirano)
  • Previous by thread: problem setting volume using AudioQueueEnqueueBuffersWithParameters
  • Next by thread: Re: Loop Audio on iPhone (Jorge Peirano)
  • Index(es):
    • Date
    • Thread