• 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: AudioConverters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConverters


  • Subject: Re: AudioConverters
  • From: Francois Hamel <email@hidden>
  • Date: Sat, 31 Jul 2004 13:32:48 -0400

Thanks,

Are you converting from 24 bit to 32 bit? That would explain why when you ask for 16000, the input proc is told that 12000 are required.


that was something along those lines, actually I forgot to take into account the
different sample rates of the formats. I think the number of packets are only influenced
by the sample rates since they have no direct relation with the number of bytes in
the buffer (well it is somewhat hidden). This is why I got confused about why I wasn't
receiving the same amount of packets that I asked for.

But then I found out that it's possible to have the Input Buses of the 3D Mixer to take a different
sample rate than the mixer's output channels so it kinda fixed my problem by itself. I didn't know this was possible
since in the OpenAL implementation I had problems when the sample rate wasn't a "standard"
sample rate like 22050 or 44100. I tried to play some samples at 36000 Hz and they kept playing
too fast (at 44100 Hz) so I had to adjust the pitch each time to compensate. I'm not sure this is a known issue or
maybe it's a missuse of OpenAL from my part...

anyway, on to CoreAudio ! :)

btw, are the DSP effects only available on CoreAudio or they will be eventually through extensions on OpenAL?


Doug



Frank
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


References: 
 >AudioConverters (From: Francois Hamel <email@hidden>)
 >Re: AudioConverters (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: AudioConverters
  • Next by Date: DP & AU
  • Previous by thread: Re: AudioConverters
  • Next by thread: Getting Device Information
  • Index(es):
    • Date
    • Thread