/home/barant/Documents/Development/BMASockets/BMAMP3StreamFrame.h
#ifndef __BMAMP3StreamFrame_h__
#define __BMAMP3StreamFrame_h__
#include "BMAStreamFrame.h"
class BMAMP3StreamFrame : public BMAStreamFrame {
public:
BMAMP3StreamFrame(char *stream);
~BMAMP3StreamFrame();
double getDuration();
int getVersion();
int getLayer();
int getBitRate();
int getSampleRate();
int getPaddingSize();
int getFrameSampleSize();
int getFrameSize();
protected:
int bit_rates[16] = { -1, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1 };
int sample_rates[4] = { 44100, 48000, 32000, -1 };
};
#endif
BMAMP3StreamFrame
Definition: BMAMP3StreamFrame.h:6
BMAStreamFrame
Definition: BMAStreamFrame.h:4