Skip to content

Commit aacd78d

Browse files
committed
AudioPlayer documentation
1 parent 740b2a6 commit aacd78d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AudioTools/CoreAudio/AudioPlayer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,13 @@ class AudioPlayer : public AudioInfoSupport, public VolumeSupport {
240240

241241
virtual AudioInfo audioInfo() override { return info; }
242242

243-
/// starts / resumes the playing after calling stop()
243+
/// starts / resumes the playing after calling stop(): same as setActive(true)
244244
virtual void play() {
245245
TRACED();
246246
setActive(true);
247247
}
248248

249-
/// halts the playing
249+
/// halts the playing: same as setActive(false)
250250
virtual void stop() {
251251
TRACED();
252252
setActive(false);

0 commit comments

Comments
 (0)