Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soundscapes are not played through the OpenAL system #6

Open
Islandstone opened this issue Aug 13, 2010 · 2 comments
Open

Soundscapes are not played through the OpenAL system #6

Islandstone opened this issue Aug 13, 2010 · 2 comments

Comments

@Islandstone
Copy link
Collaborator

To fix this, a complete rewrite of the soundscapes is required.

@monokrome
Copy link
Owner

This is something that I've already looked into a bit with the "environmental" branch.

This branch is used to take into account things like soundscapes (chained through multiple effect sends instead of singular) and also for occlusion culling, exclusion culling, etc.

My current culling methods require a traceline be sent, but I think that a boolean 'm_bMapOptimized' in [[COpenALGameManager]] would be helpful in order to allow developers to compile an additional, lower quality chunk of the map into the BSP (unless this already exists) in order to make the culling system a bit faster.

Although a separate entity from soundscape is required, we can still leverage the current soundscape entities to provide effects in already-developed or near-finished source projects that can benefit from using this library.

I do, however, intend to provide some more descript audio-based entities. Some may include:

  • func_silence - Silence all audio, or audio from specific "groups" of samples.
  • func_environment - An entity that defines the environment within it's volume/area.
  • func_sound_local - Plays a specific sound local to the player when inside it's volume/area.

@monokrome
Copy link
Owner

It should be noted that this issue will be held off on until Issue 5 and Issue 7 is taken care of, because these issues collectively require a restructuring of IOpenALSample to also make use of an COpenALSource object and a caching mechanism which represents phyisical locations that samples can be linked to. This is relevant, because effects will represented as objects within the COpenALSource object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants