Skip to content

Commit

Permalink
AudioPlayer documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Nov 5, 2024
1 parent 740b2a6 commit aacd78d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AudioTools/CoreAudio/AudioPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,13 @@ class AudioPlayer : public AudioInfoSupport, public VolumeSupport {

virtual AudioInfo audioInfo() override { return info; }

/// starts / resumes the playing after calling stop()
/// starts / resumes the playing after calling stop(): same as setActive(true)
virtual void play() {
TRACED();
setActive(true);
}

/// halts the playing
/// halts the playing: same as setActive(false)
virtual void stop() {
TRACED();
setActive(false);
Expand Down

0 comments on commit aacd78d

Please sign in to comment.