https://github.com/DLangGamedev/bindbc-soloud
BindBC binding to SoLoud
https://github.com/DLangGamedev/bindbc-soloud
sound-engine
Last synced: 22 days ago
JSON representation
BindBC binding to SoLoud
- Host: GitHub
- URL: https://github.com/DLangGamedev/bindbc-soloud
- Owner: DLangGamedev
- License: bsl-1.0
- Created: 2019-01-22T08:51:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-13T11:32:43.000Z (7 months ago)
- Last Synced: 2025-07-23T10:38:28.570Z (4 months ago)
- Topics: sound-engine
- Language: D
- Size: 3.7 MB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
- awesome-d - bindbc-soloud
README
# bindbc-soloud
BindBC binding to [SoLoud sound engine](https://github.com/jarikomppa/soloud). Comes with a generator script in Python and a `soloud.d` wrapper module.
[](https://code.dlang.org/packages/bindbc-soloud)
[](https://code.dlang.org/packages/bindbc-soloud)
## Usage example
```d
import soloud;
void main()
{
loadSoloud();
Soloud soloud = Soloud.create();
soloud.init();
WavStream music = WavStream.create();
music.load("music.mp3");
int voice = soloud.play(music);
while (soloud.getActiveVoiceCount() > 0)
{
// do nothing while music is playing...
}
music.free();
soloud.deinit();
}
```