• 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: Mark Thomas <email@hidden>
  • Date: Tue, 12 Feb 2002 09:30:28 +0000
  • Organization: Coderus Ltd

Hi,
Slight confused, What are you saying is a hack ??. As my my code is
calling SndNewChannel, and I call this more than 2 times, or are you
referring to that the Sound Manager only has a left and right speaker
concept ??, for sending the sound data.

As I understand that Core Audio allows me to find each speaker device
individually, and communicate with it. Is that not true ???.

Thanks
Mark.


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

References: 
 >Re: Multiple Sound Devices (From: Bill Stewart <email@hidden>)

  • Prev by Date: Re: coremidi & codewarrior
  • Next by Date: Re: Multiple Sound Devices
  • Previous by thread: Re: Multiple Sound Devices
  • Next by thread: Re: Multiple Sound Devices
  • Index(es):
    • Date
    • Thread