Skip to content
BindBC binding to SoLoud
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
src
.gitignore
COPYING.txt
README.md
dub.json

README.md

bindbc-soloud

BindBC binding to SoLoud sound engine. Comes with a generator script in Python and a soloud.d wrapper module.

Usage example:

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();
}
You can’t perform that action at this time.