[Openal] OpenAL MacOSX and 3D mixing
Bob Aron
baron@apple.com
Thu, 1 Apr 2004 13:13:20 -0800
--Apple-Mail-7--532414990
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=ISO-8859-1;
format=flowed
S,
The library doesn't have to be set for multichannel to work. This is=20
explicitly done by the user when setting up the output hardware.
The user has to explicitly set their speaker configuration.
Try this:
1) Open the Audio MIDI Setup application =
(/Applications/Utilities/)
2) Set the m-audio box to be the Default Output Device (upper =
right=20
popup menu)
3) Make sure the "Properties For" popup menu is set for the =
m-audio box
4) Click on the "Configure Speakers" button
5) Click on the "Multichannel" button
6) Select "5.1 Surround" (quad currently doesn't work, but will =
soon")
7) Make sure you have your speakers connected to the proper =
channel=20
numbers
8) Click Apply
Now relaunch your application and you should get surround. Until this=20
process is done, the library only renders to stereo because the default=20=
output device doesn't know what channel layout to render to.
good luck!
bob
On Apr 1, 2004, at 1:00 PM, Sebastien Poirier wrote:
> Ok with the help of Bob (altest)=A0and Ryan (alcProcessContext)=A0I=20
> finally have sound but no 3D. The problem may be related to the=20
> soundcard though, I would like to know if someone has been able to=20
> output 5.1 sound on MacOSX.
> =A0
> I tried with the alSetInteger(..., ...MULTICHANNEL); without success.
> =A0
> Another problem I am facing with the experimental version of OpenAL:
> I set the reference distance to 50 and I place a sound at +3,+0,+0=20
> from the listener and I hear it ok, but if I place the sound to=20
> +10,+0,+0 I hear it less, is it normal that within the reference=20
> distance from the listener the volume is reduced anyway?
> =A0
> Thanks in advance
> =A0
> Sebastien Poirier
> =A0
> ----- Original Message -----
> From: Sebastien Poirier
> To: openal@opensource.creative.com
> Sent: Wednesday, March 31, 2004 1:48 PM
> Subject: [Openal] OpenAL MacOSX and 3D mixing
>
> Hi everyone,
> =A0
> I need to test the 3D mixing on Mac OS X using OpenAL and the new Core=20=
> Audio 2.1. I took the latest openal version from Apple CVS. I built it=20=
> with XCode (as recommended) and compile it as a framework. In a=20
> project already using an older version of OpenAL, I changed the=20
> framework to be the new one. Now that my project use the experimental=20=
> OpenAL from Apple, no sound using OpenAL can be heard from my=20
> soundcard or even from the built-in soundcard. I use Bink too in this=20=
> project and Bink sounds are working.
> =A0
> Anyone has an idea what could be the problem I'm having?
> =A0
> Thanks
> =A0
> Sebastien Poirier
> =A0
>
------------------------------------------------------------------
Rule 2: Doing nothing is doing something.
summarized from the '113 Rules of Leisure'
- as decreed by the Leisure Master
--Apple-Mail-7--532414990
Content-Transfer-Encoding: quoted-printable
Content-Type: text/enriched;
charset=ISO-8859-1
S,
The library doesn't have to be set for multichannel to work. This is
explicitly done by the user when setting up the output hardware.
The user has to explicitly set their speaker configuration.
Try this:
1) Open the Audio MIDI Setup application =
(/Applications/Utilities/)
2) Set the m-audio box to be the Default Output Device (upper =
right
popup menu)
3) Make sure the "Properties For" popup menu is set for the =
m-audio
box
4) Click on the "Configure Speakers" button
5) Click on the "Multichannel" button
6) Select "5.1 Surround" (quad currently doesn't work, but will =
soon")
7) Make sure you have your speakers connected to the proper =
channel
numbers
8) Click Apply
Now relaunch your application and you should get surround. Until this
process is done, the library only renders to stereo because the
default output device doesn't know what channel layout to render to.
good luck!
bob
On Apr 1, 2004, at 1:00 PM, Sebastien Poirier wrote:
<excerpt><fontfamily><param>Arial</param><x-tad-smaller>Ok with the
help of Bob (altest)=A0and Ryan (alcProcessContext)=A0I finally have =
sound
but no 3D. The problem may be related to the soundcard though, I would
like to know if someone has been able to output 5.1 sound on =
MacOSX.</x-tad-smaller></fontfamily>
=A0
<fontfamily><param>Arial</param><x-tad-smaller>I tried with the
alSetInteger(..., ...MULTICHANNEL); without =
success.</x-tad-smaller></fontfamily>
=A0
<fontfamily><param>Arial</param><x-tad-smaller>Another problem I am
facing with the experimental version of =
OpenAL:</x-tad-smaller></fontfamily>
<fontfamily><param>Arial</param><x-tad-smaller>I set the reference
distance to 50 and I place a sound at +3,+0,+0 from the listener and I
hear it ok, but if I place the sound to +10,+0,+0 I hear it less, is
it normal that within the reference distance from the listener the
volume is reduced anyway?</x-tad-smaller></fontfamily>
=A0
<fontfamily><param>Arial</param><x-tad-smaller>Thanks in =
advance</x-tad-smaller></fontfamily>
=A0
<fontfamily><param>Arial</param><x-tad-smaller>Sebastien =
Poirier</x-tad-smaller></fontfamily>
=A0
<fontfamily><param>Arial</param><bigger><x-tad-bigger>----- Original
Message -----</x-tad-bigger></bigger></fontfamily></excerpt><excerpt>
<fontfamily><param>Arial</param><bigger><x-tad-bigger>
=
</x-tad-bigger><bold><x-tad-bigger>From:</x-tad-bigger></bold><x-tad-bigge=
r>
=
</x-tad-bigger><color><param>0000,0000,EEEE</param><x-tad-bigger>Sebastien=
Poirier</x-tad-bigger></color><x-tad-bigger> =
</x-tad-bigger></bigger></fontfamily></excerpt><excerpt>
=
<bold><fontfamily><param>Arial</param><bigger><x-tad-bigger>To:</x-tad-big=
ger></bigger></fontfamily></bold><fontfamily><param>Arial</param><bigger><=
x-tad-bigger>
=
</x-tad-bigger><color><param>0000,0000,EEEE</param><x-tad-bigger>openal@op=
ensource.creative.com</x-tad-bigger></color><x-tad-bigger> =
</x-tad-bigger></bigger></fontfamily></excerpt><excerpt>
=
<bold><fontfamily><param>Arial</param><bigger><x-tad-bigger>Sent:</x-tad-b=
igger></bigger></fontfamily></bold><fontfamily><param>Arial</param><bigger=
><x-tad-bigger>
Wednesday, March 31, 2004 1:48 =
PM</x-tad-bigger></bigger></fontfamily></excerpt><excerpt>
=
<bold><fontfamily><param>Arial</param><bigger><x-tad-bigger>Subject:</x-ta=
d-bigger></bigger></fontfamily></bold><fontfamily><param>Arial</param><big=
ger><x-tad-bigger>
[Openal] OpenAL MacOSX and 3D =
mixing</x-tad-bigger></bigger></fontfamily></excerpt><excerpt>
<fontfamily><param>Arial</param><x-tad-smaller>Hi =
everyone,</x-tad-smaller></fontfamily>
=A0
<fontfamily><param>Arial</param><x-tad-smaller>I need to test the 3D
mixing on Mac OS X using OpenAL and the new Core Audio 2.1. I took the
latest openal version from Apple CVS. I built it with XCode (as
recommended) and compile it as a framework. In a project already using
an older version of OpenAL, I changed the framework to be the new one.
Now that my project use the experimental OpenAL from Apple, no sound
using OpenAL can be heard from my soundcard or even from the built-in
soundcard. I use Bink too in this project and Bink sounds are =
working.</x-tad-smaller></fontfamily>
=A0
<fontfamily><param>Arial</param><x-tad-smaller>Anyone has an idea what
could be the problem I'm having?</x-tad-smaller></fontfamily>
=A0
=
<fontfamily><param>Arial</param><x-tad-smaller>Thanks</x-tad-smaller></fon=
tfamily>
=A0
<fontfamily><param>Arial</param><x-tad-smaller>Sebastien =
Poirier</x-tad-smaller></fontfamily>
=A0
=
</excerpt><fontfamily><param>Monaco</param><x-tad-smaller>----------------=
--------------------------------------------------
</x-tad-smaller><color><param>FFFF,0909,0000</param><x-tad-smaller>Rule
2: Doing nothing is doing something.
summarized from the '113 Rules of Leisure'=20
- as decreed by the Leisure Master</x-tad-smaller></color></fontfamily>
--Apple-Mail-7--532414990--