Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-07-15 10:08:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f020690ed7959c8f1d2a7a867abaeb97eb291c43
f020690e
1 parent
9860e390
add comments for the FLV/RTMP enums
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
22 行增加
和
13 行删除
trunk/src/app/srs_app_avc_aac.hpp
trunk/src/app/srs_app_avc_aac.hpp
查看文件 @
f020690
...
...
@@ -37,11 +37,14 @@ class SrsStream;
#define SRS_MAX_CODEC_SAMPLE 128
#define _SRS_AAC_SAMPLE_RATE_UNSET 15
// Sampling rate. The following values are defined:
// 0 = 5.5 kHz = 5512 Hz
// 1 = 11 kHz = 11025 Hz
// 2 = 22 kHz = 22050 Hz
// 3 = 44 kHz = 44100 Hz
/**
* the FLV/RTMP supported audio sample rate.
* Sampling rate. The following values are defined:
* 0 = 5.5 kHz = 5512 Hz
* 1 = 11 kHz = 11025 Hz
* 2 = 22 kHz = 22050 Hz
* 3 = 44 kHz = 44100 Hz
*/
enum
SrsCodecAudioSampleRate
{
// set to the max value to reserved, for array map.
...
...
@@ -53,11 +56,14 @@ enum SrsCodecAudioSampleRate
SrsCodecAudioSampleRate44100
=
3
,
};
// Size of each audio sample. This parameter only pertains to
// uncompressed formats. Compressed formats always decode
// to 16 bits internally.
// 0 = 8-bit samples
// 1 = 16-bit samples
/**
* the FLV/RTMP supported audio sample size.
* Size of each audio sample. This parameter only pertains to
* uncompressed formats. Compressed formats always decode
* to 16 bits internally.
* 0 = 8-bit samples
* 1 = 16-bit samples
*/
enum
SrsCodecAudioSampleSize
{
// set to the max value to reserved, for array map.
...
...
@@ -67,9 +73,12 @@ enum SrsCodecAudioSampleSize
SrsCodecAudioSampleSize16bit
=
1
,
};
// Mono or stereo sound
// 0 = Mono sound
// 1 = Stereo sound
/**
* the FLV/RTMP supported audio sound type/channel.
* Mono or stereo sound
* 0 = Mono sound
* 1 = Stereo sound
*/
enum
SrsCodecAudioSoundType
{
// set to the max value to reserved, for array map.
...
...
请
注册
或
登录
后发表评论