BASS controller.
More...
#include <controller.h>
BASS controller.
- Author
- Asiern
- Since
- Fri Aug 27 2021
◆ AudioController()
AudioController::AudioController |
( |
int |
device, |
|
|
int |
freq |
|
) |
| |
Controller constructor.
- Parameters
-
◆ ~AudioController()
AudioController::~AudioController |
( |
| ) |
|
◆ DecreasePitch()
int AudioController::DecreasePitch |
( |
void |
| ) |
|
Decrease channel pitch.
- Returns
◆ GetBpm()
float AudioController::GetBpm |
( |
const std::string & |
path, |
|
|
double |
start, |
|
|
double |
end |
|
) |
| |
Get bpm from file.
- Parameters
-
path | File path |
start | Start detecting position in seconds |
end | End detecting position in seconds |
- Returns
- Beats per minute
◆ getStreamStatus()
int AudioController::getStreamStatus |
( |
void |
| ) |
|
◆ IncreasePitch()
int AudioController::IncreasePitch |
( |
void |
| ) |
|
Increase channel pitch.
- Returns
◆ PauseStream()
int AudioController::PauseStream |
( |
void |
| ) |
|
Pause audio stream.
- Returns
◆ PlayStream()
int AudioController::PlayStream |
( |
const std::string & |
path | ) |
|
Play audio file.
- Parameters
-
- Returns
◆ ResumeStream()
int AudioController::ResumeStream |
( |
void |
| ) |
|
Resume audio stream.
- Returns
◆ SetStreamSpeed()
int AudioController::SetStreamSpeed |
( |
float |
speed | ) |
|
◆ StopStream()
int AudioController::StopStream |
( |
void |
| ) |
|
Stop audio stream.
- Returns
The documentation for this class was generated from the following files: