Re: Help, it's been a hard days night
Re: Help, it's been a hard days night
- Subject: Re: Help, it's been a hard days night
- From: Airy André <email@hidden>
- Date: Sun, 11 Jan 2004 13:45:08 +0100
About the version problem, you need to override the Version() method in
your AU to return the same value as you have in your .r file.
This is the version of your AU.
You'd probably define a constant in a .h included in both your .r and
.cpp file defining the "Version()" method so both values are always in
sync.
Airy
Le 11 janv. 04, ` 13:18, stiwi kirch a icrit :
Hi,
i am trying to read a audio-file from disk into a float buffer to use
it as a wavetable in my Audiounit softsynth. Right now i am trying to
use the AudioFile API but i am stuck with the AudioConverter. I can
read my sound data with AudioFileOpen and get some information about
it with AudioFileGetProperty, copy it to RAM with AudioFileReadPackets
but after that i am lost. I can't figure out how to use the
AudioConverter to convert and copy the sound data to my float buffers.
Examining the code examples PlayAudioFileLight, PlayAudioFile and
AUMixer3DTest did not help.
Another minor problem is a AU Validation error.
// --
AU Component Version: 0.0.1 (0x1)
ERROR: Component Version mismatch: Res Vers = 0x20000, Comp Vers = 0x1
// --
Which of both is wrong? Res Vers. or Comp Vers.? Comp Vers. is the one
in my project.r file but where can i find Res Vers.?
thank you very much and viele Gr|_e
stiwi
_______________________________________________
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.