BMA Server Framework
/home/barant/Documents/Development/BMASockets/BMAMP3StreamFrame.h
1 #ifndef __BMAMP3StreamFrame_h__
2 #define __BMAMP3StreamFrame_h__
3 
4 #include "BMAStreamFrame.h"
5 
7 
8  public:
9  BMAMP3StreamFrame(char *stream);
11 
12  double getDuration();
13  int getVersion();
14  int getLayer();
15  int getBitRate();
16  int getSampleRate();
17  int getPaddingSize();
18  int getFrameSampleSize();
19  int getFrameSize();
20 
21  protected:
22  int bit_rates[16] = { -1, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1 };
23  int sample_rates[4] = { 44100, 48000, 32000, -1 };
24 
25 };
26 
27 #endif
Definition: BMAMP3StreamFrame.h:6
Definition: BMAStreamFrame.h:4