• 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
Accessing audio samples from Audio Queue Buffers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing audio samples from Audio Queue Buffers


  • Subject: Accessing audio samples from Audio Queue Buffers
  • From: KappA <email@hidden>
  • Date: Wed, 9 Sep 2009 16:48:15 -0400

Hi All,
 
I am hoping this is a somewhat simple question. I am using Audio Queue's for audio playback (iPhone OS3), and I would like to add some simple EQ effects to the audio output... I am supporting MP3 and AAC playback, so I will need my solution to still be able to support these formats.

I'd basically like to use this EQ function:
http://musicdsp.org/archive.php?classid="">

Which takes an audio sample input of type "double", and returns a modified sample output, of type "double"

I can actually see where we copy the audio bytes to the audio buffer data structure, in the Audio Queue Services callbacks... but I am not sure how to convert the raw audio bytes to audio samples, where I can manipulate them...

Is this even possible? Am totally off base here?

If it is not possible, any other ideas to acheive something similar with Audio Queues?

If I cannot do it with Audio Queues, is there something else I can use for playback, that will support MP3's and AAC etc?
 
I can share more info if needed.

Any help appreciated.

Thanks,
KappA

 _______________________________________________
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

  • Follow-Ups:
    • Re: Accessing audio samples from Audio Queue Buffers
      • From: Steven Winston <email@hidden>
  • Prev by Date: Re: Audio Units and OpenCL?
  • Next by Date: Re: Accessing audio samples from Audio Queue Buffers
  • Previous by thread: Re: Get SetSoundOutputInfo
  • Next by thread: Re: Accessing audio samples from Audio Queue Buffers
  • Index(es):
    • Date
    • Thread