stop method

void stop()

Pauses playback and seeks back to the beginning.

Implementation

void stop() {
  playing = false;
  seek(0);
}