remove Alsa9Buf::Reset
This commit is contained in:
@@ -350,13 +350,6 @@ int64_t Alsa9Buf::GetPosition() const
|
||||
return last_cursor_pos - delay;
|
||||
}
|
||||
|
||||
void Alsa9Buf::Reset()
|
||||
{
|
||||
/* Nothing is playing. Reset the sample count; this is just to
|
||||
* prevent eventual overflow. */
|
||||
last_cursor_pos = 0;
|
||||
}
|
||||
|
||||
void Alsa9Buf::Play()
|
||||
{
|
||||
/* NOP. It'll start playing when it gets some data. */
|
||||
|
||||
@@ -40,7 +40,6 @@ public:
|
||||
void Write( const Sint16 *buffer, int frames );
|
||||
unsigned FindSampleRate( unsigned rate );
|
||||
|
||||
void Reset();
|
||||
void Play();
|
||||
void Stop();
|
||||
void SetVolume(float vol);
|
||||
|
||||
Reference in New Issue
Block a user