• 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: get the name of audio files in the track from the host
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >get the name of audio files in the track from the host (From: Tony Sheng <email@hidden>)

  • Prev by Date: How to use IOAudioDeviceIconName property?
  • Next by Date: Re: Save PCM Stream to AIFF File (was How to play RAW PCM data using CA?)
  • Previous by thread: get the name of audio files in the track from the host
  • Next by thread: How to use IOAudioDeviceIconName property?
  • Index(es):
    • Date
    • Thread