Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gecko0307/bindbc-soloud
BindBC binding to SoLoud
https://github.com/gecko0307/bindbc-soloud
Last synced: about 2 months ago
JSON representation
BindBC binding to SoLoud
- Host: GitHub
- URL: https://github.com/gecko0307/bindbc-soloud
- Owner: gecko0307
- License: bsl-1.0
- Created: 2019-01-22T08:51:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-19T15:24:54.000Z (9 months ago)
- Last Synced: 2024-11-18T21:47:59.673Z (2 months ago)
- Language: D
- Size: 3 MB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
- awesome-d - bindbc-soloud
README
[![DUB Package](https://img.shields.io/dub/v/bindbc-soloud.svg)](https://code.dlang.org/packages/bindbc-soloud)
# 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.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();
}
```