Re: get the name of audio files in the track from the host
Re: get the name of audio files in the track from the host
- Subject: Re: get the name of audio files in the track from the host
- From: Jens Alfke <email@hidden>
- Date: Mon, 27 Apr 2009 08:44:11 -0700
On Apr 27, 2009, at 4:58 AM, Tony Sheng wrote:
Does anyone know what function to call to get the name of the audio
file being processed in the Host.
There's no way to find this out. There's no direct connection from a
file to an AudioUnit that would let CoreAudio figure this out — all it
knows, usually, is that you're feeding samples into it. My app uses
ExtAudioFile to read from audio files, then copies those samples into
my own buffers, and then I feed those buffers to an AudioUnit. There's
no way for CoreAudio to follow where those samples are coming from.
Consider also that the audio samples you're processing might come from
- A microphone or line-in jack
- An HTTP URL
- A direct network socket
- The output of a synthesizer
- Multiple audio tracks being mixed together
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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