mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Increased robustness of audio module initialization (see issue #646.) Also changed Source:play to return a boolean indicating success.
This commit is contained in:
@@ -48,8 +48,7 @@ public:
|
||||
love::audio::Source *newSource(love::sound::SoundData *soundData);
|
||||
int getSourceCount() const;
|
||||
int getMaxSources() const;
|
||||
void play(love::audio::Source *source);
|
||||
void play();
|
||||
bool play(love::audio::Source *source);
|
||||
void stop(love::audio::Source *source);
|
||||
void stop();
|
||||
void pause(love::audio::Source *source);
|
||||
|
||||
Reference in New Issue
Block a user