CD audio playback.
#include <srl_sound.hpp>
Classes | |
class | Analysis |
CD audio analysis. More... | |
Static Public Member Functions | |
static void | Play (const uint16_t fromTrack, const uint16_t toTrack, const bool loop) |
Play range of tracks. | |
static constexpr void | PlaySingle (const uint16_t track, const bool loop) |
Play single CD track. | |
static void | Resume () |
Resume audio playback from where it left off. | |
static constexpr void | SetPan (const uint8_t left, const uint8_t right) |
Set CD playback stereo pan. | |
static constexpr void | SetVolume (const uint8_t left, const uint8_t right) |
Set CD playback volume. | |
static constexpr void | SetVolume (const uint8_t volume) |
Set CD playback volume. | |
static void | StopPause () |
Stop or pause CD music playback. | |
|
inlinestatic |
Play range of tracks.
fromTrack | Starting track |
toTrack | Ending track |
loop | Whether to play the range of track again after it ends |
|
inlinestaticconstexpr |
Play single CD track.
track | Track number (in jo starts at 3) |
loop | Whether to loop track after it ends |
|
inlinestaticconstexpr |
Set CD playback stereo pan.
left | Left channel volume (7 is max) |
right | Right channel volume (7 is max) |
|
inlinestaticconstexpr |
Set CD playback volume.
left | Left channel audio volume (7 is max) |
right | Right channle audio volume (7 is max) |
|
inlinestaticconstexpr |
Set CD playback volume.
volume | Audio volume (7 is max) |