22#ifndef _ADTS_AUDIO_STREAM_DISCRETE_FRAMER_HH
23#define _ADTS_AUDIO_STREAM_DISCRETE_FRAMER_HH
25#ifndef _FRAMED_FILTER_HH
29#define ADTS_HEADER_SIZE 7
39 u_int8_t profile, u_int8_t samplingFrequencyIndex, u_int8_t channelConfiguration);
49 unsigned numTruncatedBytes,
50 struct timeval presentationTime,
51 unsigned durationInMicroseconds);
53 unsigned numTruncatedBytes,
54 struct timeval presentationTime,
55 unsigned durationInMicroseconds);
static void afterGettingFrame(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds)
ADTSAudioStreamDiscreteFramer(UsageEnvironment &env, FramedSource *inputSource, u_int8_t profile, u_int8_t samplingFrequencyIndex, u_int8_t channelConfiguration)
void afterGettingFrame1(unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds)
virtual void doGetNextFrame()
virtual ~ADTSAudioStreamDiscreteFramer()
u_int8_t fADTSHeader[ADTS_HEADER_SIZE]
static ADTSAudioStreamDiscreteFramer * createNew(UsageEnvironment &env, FramedSource *inputSource, char const *configStr)
FramedSource * inputSource() const