29 #ifndef __MEDIA_SOCKETOUTPUTDATASOURCE_H 30 #define __MEDIA_SOCKETOUTPUTDATASOURCE_H 35 #error CONFIG_NET should be turn on to use SocketOutputDataSource class. 74 SocketOutputDataSource(
unsigned int channels,
unsigned int sampleRate, audio_format_type_t pcmFormat,
const std::string& ipAddr,
const uint16_t port);
107 bool open()
override;
114 bool close()
override;
125 ssize_t
write(
unsigned char* buf,
size_t size)
override;
Media OutputDataSource APIs.