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

Re: AudioConverterFillBuffer - resampling


  • Subject: Re: AudioConverterFillBuffer - resampling
  • From: "Harry Mahoney" <email@hidden>
  • Date: Thu, 11 Jul 2002 15:09:45 -0600

OK. I have reworked my code to use AudioConverterFillBuffer. It does seem to be converting my data correctly.

Now another question: once my AudioConverterInputDataProc returns ioDataSize as zero to AudioConverterFillBuffer, my input proc never gets called again. Is this correct behaviour? Will AudioConverterReset get it going again or does it take a dispose-new cycle?

Thanks,
Harry

>>> Bill Stewart <email@hidden> 07/10/02 11:27AM >>>
There's a limited utility to be gained by using the convert buffer calls
with sample rate converters...

The FillBuffer works fine - you call it with a destination buffer that you
want to convert, then it will call you until you've given enough data to
produce the samples you've requested.

See - /Developer/Examples/CoreAudio/CAServices/DefaultOutput I think is the
path

You can tweak the values that the sin wave calc uses to generate int, 8K
source if you want to validate that this works

Bill

--- snip ---

mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Thousands of years ago, cats were worshipped as gods. We have never
forgotten this."
__________________________________________________________________________
_______________________________________________
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.
_______________________________________________
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.

  • Prev by Date: Re: AudioConverterFillBuffer - resampling
  • Next by Date: Re: Midi Plugin
  • Previous by thread: Re: AudioConverterFillBuffer - resampling
  • Next by thread: Simple MIDI thru app
  • Index(es):
    • Date
    • Thread