Thread: OpenAL channels

  1. #1
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607

    OpenAL channels

    I'm a bit confused on a few things in OpenAL.

    In DirectMusic I was able to play an infinite amount of sounds out of one sound emitter. I'm used to the idea of a sound emitter being able to emit any number of sounds from any point in 3D space. The emitter limit then is determined by the performance needed and the sound hardware itself.

    It seems that the only way to play multiple sounds in OpenAL is to assign separate sources to them. However it appears that these sources align with the number of hardware channels available on the sound hardware. This seems a bit odd since you should be able to play any number of sounds on the available channels. So in OpenAL it appears you can only play as many separate sounds as there are hardware sound channels which is a bit limiting.

    Anyone here have any experience with OpenAL who could help me understand how best to use it?

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    DirectSound/etc use the hardware mixers, while I do not believe OpenAL does. DirectX components will very often implement seamless features so that all hardware looks the same, so you may very well be getting transparent software down-mixing without realizing it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenAL Programming
    By computerquip in forum Game Programming
    Replies: 7
    Last Post: 07-05-2009, 09:27 AM
  2. Producing a "beeep!" as simply as possible
    By mutandis in forum C Programming
    Replies: 10
    Last Post: 12-13-2008, 01:30 AM
  3. OpenAL issues
    By Slyde in forum Game Programming
    Replies: 2
    Last Post: 03-20-2004, 09:33 AM
  4. OpenAL
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 05-31-2002, 06:32 PM
  5. OpenAL
    By DavidP in forum Game Programming
    Replies: 0
    Last Post: 05-24-2002, 03:00 PM