• 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
strange bevavior in OpenAL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange bevavior in OpenAL


  • Subject: strange bevavior in OpenAL
  • From: Romain Pechayre <email@hidden>
  • Date: Fri, 22 May 2009 14:32:08 +0200

Hello,

I am experiencing a strange issue with openAL and iPhone SDK.
Suppose I have three sources that play very short sounds:
s1, s2, s3

I want to play repeatedly
s1s2 s3 s1 s2 s3 s1 s2 s3 .... (loop)

the sources all have a different gain. It looks like the effective gain of s1 has an influence on the gain of s2, except when gain of s2 is 0.
More specifically, if gains are 1.0, 0.1, 0.5, the second source will actually have a gain very close to 1.0. Conversely, if I turn of s1, s2 will play with the "expected" gain.


Is is something that we can explain ? Also, when I slow down my loop I still observe the same thing.

Is is possible that in openAL the gain applied to one source influences the gain of the sources played after it ?

I hope my example is not too obscure and somenone has a clue for me.

Regards,

Romain Pechayre

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: call render
  • Next by Date: Re: call render
  • Previous by thread: Re: call render
  • Next by thread: Problems in creating aggregate device
  • Index(es):
    • Date
    • Thread