29 #ifndef __MEDIA_FILEOUTPUTDATASOURCE_H 30 #define __MEDIA_FILEOUTPUTDATASOURCE_H 68 FileOutputDataSource(
unsigned int channels,
unsigned int sampleRate, audio_format_type_t pcmFormat,
const std::string& dataPath);
101 bool open()
override;
108 bool close()
override;
117 ssize_t
write(
unsigned char *buf,
size_t size)
override;
120 std::string mDataPath;
Media OutputDataSource APIs.