20 bool setActive(
bool active) {
return active ? play() : stop(); }
23 if (
p_out ==
nullptr)
return false;
36 if (
p_out ==
nullptr)
return false;
48 bool next(
int offset = 1) {
49 if (
p_out ==
nullptr)
return false;
60 bool previous(
int offset = 1) {
61 if (
p_out ==
nullptr)
return false;
73 bool setIndex(
int idx) {
74 if (
p_out ==
nullptr)
return false;
86 bool setPath(
const char *path) {
87 if (
p_out ==
nullptr)
return false;
98 bool setVolume(
float volume) {
99 if (
p_out ==
nullptr)
return false;
125 setAudioPlayer(player);
131 bool processInputMessage(
Stream &in) {
135 size_t len = in.
readBytes(data,
sizeof(data));
147 LOGE(
"RCAudioPlayerOSCReceiver: player is null");
#define LOGE(...)
Definition AudioLoggerIDF.h:30
void stop()
stops any further processing by spinning in an endless loop
Definition AudioRuntime.h:12