mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Rework source updates, do clean stopping of streaming sources once they end. (bug #295)
This commit is contained in:
@@ -77,8 +77,9 @@ namespace null
|
||||
return true;
|
||||
}
|
||||
|
||||
void Source::update()
|
||||
bool Source::update()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void Source::setPitch(float pitch)
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace null
|
||||
virtual bool isStopped() const;
|
||||
virtual bool isPaused() const;
|
||||
virtual bool isFinished() const;
|
||||
virtual void update();
|
||||
virtual bool update();
|
||||
virtual void setPitch(float pitch);
|
||||
virtual float getPitch() const;
|
||||
virtual void setVolume(float volume);
|
||||
|
||||
Reference in New Issue
Block a user