11#ifndef AUDIOCONTROLLER_H
12#define AUDIOCONTROLLER_H
35 float GetBpm(
const std::string& path,
double start,
double end);
BASS controller.
Definition: controller.h:23
int SetStreamSpeed(float speed)
Definition: controller.cpp:147
AudioController(int device, int freq)
Controller constructor.
Definition: controller.cpp:19
int StopStream(void)
Stop audio stream.
Definition: controller.cpp:103
int DecreasePitch(void)
Decrease channel pitch.
Definition: controller.cpp:135
float GetBpm(const std::string &path, double start, double end)
Get bpm from file.
Definition: controller.cpp:164
int IncreasePitch(void)
Increase channel pitch.
Definition: controller.cpp:124
int PlayStream(const std::string &file)
Play audio file.
Definition: controller.cpp:47
int ResumeStream(void)
Resume audio stream.
Definition: controller.cpp:90
int getStreamStatus(void)
Definition: controller.cpp:115
~AudioController()
Destructor.
Definition: controller.cpp:37
int PauseStream(void)
Pause audio stream.
Definition: controller.cpp:80