Remm0021 / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

AudioSource/AudioData refactor #91

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
To better organize the sound system, the AudioSource class will no longer
represent an actual source in OpenAL. Instead, it would be "bound" to a
certain audio channel, which more accurately represents how the audio
hardware works, and how the OpenAL audio renderers are organized.
Playing an audio source will allocate a channel id to the source, when
methods such as play, pause, stop, etc are called, the channel will be
manipulated. Still there is the issue that audio sources created by the
user must be bound to a certain AudioRenderer, otherwise no actual audio
output can occur. Either a special method like
AudioSource.registerWithRenderer() will have to be created or users will
need to load their AudioSources through the AssetManager.
Also, streaming stereo audio (music) and buffered mono positional audio
(Sound effects) should be separated in this way to represent how they will
actually get used by the user.

Original issue reported on code.google.com by ShadowIs...@gmail.com on 11 Sep 2009 at 3:33

GoogleCodeExporter commented 8 years ago
This issue has been solved! Still remains the ability to play/stop sources 
through
methods inside AudioSource. 

Original comment by ShadowIs...@gmail.com on 20 Sep 2009 at 4:35

GoogleCodeExporter commented 8 years ago

Original comment by e.so...@gmail.com on 25 Mar 2010 at 9:13