• 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: Multiple Sound Devices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple Sound Devices


  • Subject: Re: Multiple Sound Devices
  • From: Bill Stewart <email@hidden>
  • Date: Mon, 11 Feb 2002 18:49:06 -0800

on 11/2/02 8:03 AM, Mark Thomas wrote:

> Hi,
> Sorry for asking a Sound Manager question, but there doesn't seem to be
> good one for this, and I guess this is an easy question for you guys :-).
>
> My application presently uses the Sound Manager API, it creates its Sound
> Channels, and everything works great, and I get sound out of all the
> speakers attached.

This is a hack to get around the fact that the SM does not support anything
more than 2 channels and has been a burden for many developers on Mac for
many years...

Now for the good news... You don't have to do this anymore, because
CoreAudio gives you more than 2 channels.

If you look through the example in:

/Developer/Examples/CoreAudio/Services/DefaultOutput

You'll see a good example that is pretty simple for using the output unit
with the audio converter, so that the code is very similar to using a SM
sound channel with buffer and callback cmds...

Bill

> But thought wouldn't it be cool, to have different sounds out of the
> different speakers.
>
> Is there a way to find out how many speakers devices you have attached,
> and then how to send the data to the different devices. I can see how you do
> this with Core Audio, but the Sound Manager api's seem hidden away, also any
> sample code would be great.
>
> Thanks
> Mark.
> _______________________________________________
> 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.


mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"We'll talk about it later...."
"When?"
"In a future life when we're both cats"
__________________________________________________________________________
_______________________________________________
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.

  • Follow-Ups:
    • Re: Multiple Sound Devices
      • From: Mark Thomas <email@hidden>
References: 
 >Multiple Sound Devices (From: Mark Thomas <email@hidden>)

  • Prev by Date: Re: Questions on data in MIDIPackets
  • Next by Date: Re: ComponentRefcon
  • Previous by thread: ComponentRefcon
  • Next by thread: Re: Multiple Sound Devices
  • Index(es):
    • Date
    • Thread