RE: Playing 2 or more audio data simultaneously
RE: Playing 2 or more audio data simultaneously
- Subject: RE: Playing 2 or more audio data simultaneously
- From: "Robert Goulet" <email@hidden>
- Date: Wed, 18 Sep 2002 12:13:10 -0400
- Thread-topic: Playing 2 or more audio data simultaneously
I would have to add an IOProc for each audio stream I want to play at the same time? Aren't there any way to work with only one IOProc that must update every buffer?
-----Original Message-----
From: Patrick Beard [
mailto:email@hidden]
Sent: Wednesday, September 18, 2002 11:37 AM
To: Robert Goulet
Cc: CoreAudio mailing list (E-mail)
Subject: Re: Playing 2 or more audio data simultaneously
On Wednesday, September 18, 2002, at 08:28 AM, Robert Goulet wrote:
>
Hello! I'm currently developping audio stuff for our product, and I
>
was wondering if it would be better if I use SoundManager or CoreAudio
>
for an application that needs to mix sound (i.e. play 2 or more .wav
>
file simultaneously) with very low latency. I personality think that
>
CoreAudio is the way to go, but I didn't found how to play 2 or more
>
.wav file simultaneously without doing the sound mixing myself....
>
>
It is possible to mix sound with core audio? I'm currently able to
>
play a single audio file because I don't understand how am I suppose
>
to have more than one buffer in my output audio buffer list that I
>
receive in my AudioIOProc. Am I completely wrong?
Is it impractical to use more than 1 IOProc? I would assume that if
multiple applications use Core Audio and each has its own IOProc, that
mixing would occur. Why not in the same application?
- Patrick
_______________________________________________
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.