Increased robustness of audio module initialization (see issue #646.) Also changed Source:play to return a boolean indicating success.

This commit is contained in:
Alex Szpakowski
2014-01-29 05:24:47 -04:00
parent 7ef0a6b576
commit a49c2a88c1
14 changed files with 83 additions and 47 deletions
+1 -1
View File
@@ -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.