YCLIMP
Yandex Command Line Interface Music Player
Loading...
Searching...
No Matches
MusicPlayer Class Reference

The MusicPlayer class - class to play music, change music volume, fastforward/rewind, etc. More...

#include <MusicPlayer.hpp>

Public Member Functions

 MusicPlayer (SWManager *swManager)
void Update ()
void PlayMusicFromFile (const std::string &path)
void PlayMusicFromBytes (std::string bytes, std::string name)
void ToggleContinuePause ()
void FastForward5Sec ()
void Rewind5Sec ()
void VolumeUp5Percent ()
void VolumeDown5Percent ()
void ToggleRepeatMode ()
void NextSongRequest ()
double GetCurSongDuration () const
double GetCurSongProgress () const
double GetCurSongProgressPercent () const
float GetVolume () const
std::string GetRepeatMode () const
const std::string & GetCurMusicName () const

Static Public Member Functions

static std::string GetStringName (ERepeatMode rMode)

Detailed Description

The MusicPlayer class - class to play music, change music volume, fastforward/rewind, etc.

  • Uses bass library(https://www.un4seen.com/)
  • All the bass functions was wrapped in my local functions. The only difference between them is additional logs + exception throwing

The documentation for this class was generated from the following files: