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

RE: AudioConverterFillBuffer failure


  • Subject: RE: AudioConverterFillBuffer failure
  • From: "Patzer, Curtis" <email@hidden>
  • Date: Fri, 27 Feb 2004 11:16:06 -0800
  • Thread-topic: AudioConverterFillBuffer failure

Hi Bill,

It's all working now, thank for you help.

What I learned:

- I was using old example code which had deprecated functions,
and loaded an older version (v1) audio unit. I based my new code on
PlayAudioFileLite.

- You're right about not needing the converter. The
DefaultAudioOutputUnit handles all format conversions, resampling and
channel mapping. That simplified things somewhat.

Curtis



-----Original Message-----
From: William Stewart [mailto:email@hidden]
Sent: Monday, February 23, 2004 1:59 PM
To: Patzer, Curtis
Cc: email@hidden
Subject: Re: AudioConverterFillBuffer failure



The output unit already embeds a converter within it, so you can just
set the format from your source to the output unit, and it will do the
work that needs to be done



Bill



On 23/02/2004, at 10:48 AM, Patzer, Curtis wrote:



Hi Bill,



I was under the impression that I need to use a converter
because I'm

also resampling and remapping channels. Can I do all this
without a

converter?



I've realized that I need to use
AudioConverterFillComplexBuffer, since

AudioConverterFillBuffer is deprecated. I have the callbacks
working

now, but it crashes after a few rounds.



Thanks,

Curtis





-----Original Message-----

From: William Stewart [mailto:email@hidden]

Sent: Friday, February 20, 2004 5:34 PM

To: Patzer, Curtis

Cc: email@hidden

Subject: Re: AudioConverterFillBuffer failure



You should let the output unit do the conversion for you... just
tell

it what format you are going to give it and it will take care of
the

details - no need or benefit to adding your own converter here.



Bill



On 19/02/2004, at 10:53 AM, Patzer, Curtis wrote:



I've connected a cross-platform audio mixer to the
Default Output

Unit,

using an Audio Converter to convert the mixer's output
format to the

Default Output Unit's format. This seems to work for
devices with

interleaved output formats, including the built-in audio
device. I

interleave the mixer's output before passing it to the
converter.





However, if I use a Digidesign output device,
AudioConverterFillBuffer

fails with -50 (invalid parameter). The Digidesign
device has a

non-interleaved output stream, but it defaults to an
interleaved input

stream.





I'm using Panther (OS10.3.2) with Digidesign Core Audio
driver version

6.2.3.



Curtis Patzer

Audio Software Engineer II, Electronic Arts Canada

(604)456-3910, email@hidden

_______________________________________________

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.



--

mailto:email@hidden

tel: +1 408 974 4056




________________________________________________________________________




__

"Much human ingenuity has gone into finding the ultimate Before.


The current state of knowledge can be summarized thus:

In the beginning, there was nothing, which exploded" - Terry
Pratchett


________________________________________________________________________




__

_______________________________________________

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.



-- mailto:email@hidden

tel: +1 408 974 4056



________________________________________________________________________
__

Culture Ship Names:

Ravished By The Sheer Implausibility Of That Last Statement

I sais, I've Got A Big Stick [OU]

Inappropiate Response [OU]

Far Over The Borders Of Insanity And Still Accelerating [Eccentric]

________________________________________________________________________
__
_______________________________________________
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: AudioUnit and FFT
  • Next by Date: AU: Vector Size?
  • Previous by thread: Re: AudioConverterFillBuffer failure
  • Next by thread: GB, kAudioUnitProperty_ClassInfo and Beach Balls
  • Index(es):
    • Date
    • Thread