mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +08:00
隐藏细节代码
This commit is contained in:
parent
70e9a20352
commit
6356ffcb4f
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
namespace mediakit{
|
namespace mediakit{
|
||||||
|
|
||||||
|
unsigned const samplingFrequencyTable[16] = { 96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350, 0, 0, 0 };
|
||||||
|
|
||||||
class AdtsHeader{
|
class AdtsHeader{
|
||||||
public:
|
public:
|
||||||
unsigned int syncword = 0; //12 bslbf 同步字The bit string ‘1111 1111 1111’,说明一个ADTS帧的开始
|
unsigned int syncword = 0; //12 bslbf 同步字The bit string ‘1111 1111 1111’,说明一个ADTS帧的开始
|
||||||
|
@ -19,7 +19,6 @@ namespace mediakit{
|
|||||||
|
|
||||||
class AACFrame;
|
class AACFrame;
|
||||||
|
|
||||||
unsigned const samplingFrequencyTable[16] = { 96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350, 0, 0, 0 };
|
|
||||||
string makeAacConfig(const uint8_t *hex);
|
string makeAacConfig(const uint8_t *hex);
|
||||||
void dumpAacConfig(const string &config, int length, uint8_t *out);
|
void dumpAacConfig(const string &config, int length, uint8_t *out);
|
||||||
void parseAacConfig(const string &config, int &samplerate, int &channels);
|
void parseAacConfig(const string &config, int &samplerate, int &channels);
|
||||||
|
Loading…
Reference in New Issue
Block a user