29 #ifndef __MEDIA_DATASOURCE_H 30 #define __MEDIA_DATASOURCE_H 66 DataSource(
unsigned int channels,
unsigned int sampleRate, audio_format_type_t pcmFormat);
86 virtual bool open() = 0;
92 virtual bool close() = 0;
159 unsigned char mChannels;
160 unsigned int mSampleRate;
161 audio_format_type_t mPcmFormat;