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:
@@ -88,7 +88,7 @@ public:
|
||||
* Play the specified Source.
|
||||
* @param source The Source to play.
|
||||
**/
|
||||
virtual void play(Source *source) = 0;
|
||||
virtual bool play(Source *source) = 0;
|
||||
|
||||
/**
|
||||
* Stops playback on the specified source.
|
||||
|
||||
Reference in New Issue
Block a user