KA-Radio Protocol: We can use the KA-Radio protocol to control the audio player provided by the audiotools. Supported commands: play, instant, volume, volume+, volume-, pause, resume, stop, start, next, prev, mute, infos, version. Example: volume=50&play=128&infos See https://github.com/karawin/Ka-Radio32/blob/master/Interface.md.
More...
#include <KARadioProtocol.h>
KA-Radio Protocol: We can use the KA-Radio protocol to control the audio player provided by the audiotools. Supported commands: play, instant, volume, volume+, volume-, pause, resume, stop, start, next, prev, mute, infos, version. Example: volume=50&play=128&infos See https://github.com/karawin/Ka-Radio32/blob/master/Interface.md.
- Author
- Phil Schatzmann
◆ KARadioProtocol() [1/2]
Empty constructor: call setPlayer to define the player.
◆ KARadioProtocol() [2/2]
◆ addCommand()
◆ getEndPos()
◆ index()
Provides the actual index.
◆ processCommand() [1/3]
◆ processCommand() [2/3]
Processes a single command.
◆ processCommand() [3/3]
◆ readLine()
Reads a line delimited by '
' from the stream.
◆ setMaxInputBufferSize()
| void setMaxInputBufferSize |
( |
int |
size | ) |
|
|
inlineinherited |
Defines the input buffer size used by the readLine function (default 256)
◆ setPlayer()
◆ stationName()
◆ title()
Provides the actual title.
◆ actions
◆ max_input_buffer_size
| int max_input_buffer_size = 256 |
|
protectedinherited |
◆ p_player
◆ title_str
◆ volume
The documentation for this class was generated from the following file: