• 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 : Core Audio beginner questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : Core Audio beginner questions


  • Subject: RE : Core Audio beginner questions
  • From: David Scrève <email@hidden>
  • Date: Sun, 22 Jun 2003 20:36:25 +0200

> > * First of all, I would like to be able to play
> severals buffered
> > files at the same time. My code is responsible of filling
> the buffer
> > and
> > reading from the files but all files have differents sounds format
> > (number
> > of channel, bytes per sample, sample rate). Should I have
> to create one
> > AudioUnit per file and could I have severals AudioUnit with same or
> > different sound format ? And, am I forced to send floating point
> > values to
> > CoreAudio ?
>
> You can create AudioConverters to convert the sound file
> formats to the
> canonical 32-bit float format used in CoreAudio.
Yes, but can I force the input format for one output AudioUnit
instead
of connection AudioConverters (I don't know how to connect AudioConverter to
AudioUnit) ?

> I'd use a single output AU and manually mix the converted audio file
> data.
But is it legal to create several AudioUnits ?


> On the other hand, if you are using MTCoreAudio for instance, using
> AudioDevices is just as easier (or easier) than AUs.
MTCoreAudio ? What's that ?

> >
> > * Can I change the size of the buffer I sent to
> CoreAudio and know
> > the current playback position in each buffer (I need to know, in
> > addition, when a buffer begin to be played ) ?
> >
>
> Not sure exactly what you mean here..
I would like to be able to choose the size of the buffers from the
file I send to
CoreAudio, and being able to know what's the current sound position in the
sound buffer. For example,
if your buffer contains 4 seconds of sounds, I would like to know if the
current position is at 1 second (but with more
accuracy than 1 second) ?

Regards,

David
_______________________________________________
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.

References: 
 >Re: Core Audio beginner questions (From: Chris Reed <email@hidden>)

  • Prev by Date: Re: more AU info and plugins (should be "I need to share data")
  • Next by Date: AudioConverter documentation
  • Previous by thread: Re: Core Audio beginner questions
  • Next by thread: AudioConverter documentation
  • Index(es):
    • Date
    • Thread