arduino-audio-tools
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
f
g
i
m
p
r
s
t
u
v
w
Functions
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
i
l
m
n
p
r
s
t
u
v
w
x
y
Enumerations
Related Symbols
Files
File List
File Members
All
Functions
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Friends
Modules
Pages
Loading...
Searching...
No Matches
src
AudioTools
AudioLibs
KARadioProtocolServer.h
1
#pragma once
2
#include "AudioPlayerProtocolServer.h"
3
#include "KARadioProtocol.h"
4
5
namespace
audio_tools
{
6
14
class
KARadioProtocolServer
:
public
AudioPlayerProtocolServer
{
15
public
:
17
KARadioProtocolServer
(
AudioPlayer
& player,
int
port = 80,
18
const
char
* ssid =
nullptr
,
const
char
* pwd =
nullptr
) {
19
setProtocol(protocol);
20
setPlayer
(player);
21
setPort(port);
22
setSSID(ssid);
23
setPassword(pwd);
24
}
17
KARadioProtocolServer
(
AudioPlayer
& player,
int
port = 80, {
…
}
25
27
KARadioProtocolServer
() =
default
;
28
29
protected
:
30
KARadioProtocol
protocol;
31
};
14
class
KARadioProtocolServer
:
public
AudioPlayerProtocolServer
{
…
};
32
}
// namespace audio_tools
audio_tools::AudioPlayer
Implements a simple audio player which supports the following commands:
Definition
AudioPlayer.h:38
audio_tools::AudioPlayerProtocolServer
Definition
AudioPlayerProtocolServer.h:14
audio_tools::AudioPlayerProtocolServer::setPlayer
void setPlayer(AudioPlayer &player)
Defines the player.
Definition
AudioPlayerProtocolServer.h:32
audio_tools::KARadioProtocol
KA-Radio Protocol: We can use the KA-Radio protocol to control the audio player provided by the audio...
Definition
KARadioProtocol.h:26
audio_tools::KARadioProtocolServer
KA-Radio Protocol Server which provides the KARadioProtocol over http to control the audio player pro...
Definition
KARadioProtocolServer.h:14
audio_tools::KARadioProtocolServer::KARadioProtocolServer
KARadioProtocolServer()=default
Empty constructor: call setPlayer to define the player.
audio_tools::KARadioProtocolServer::KARadioProtocolServer
KARadioProtocolServer(AudioPlayer &player, int port=80, const char *ssid=nullptr, const char *pwd=nullptr)
Default constructor.
Definition
KARadioProtocolServer.h:17
audio_tools
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition
AudioCodecsBase.h:10
Generated by
1.9.8