1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #813, refine code.

This commit is contained in:
winlin 2017-03-25 12:52:54 +08:00
parent 8ad934a8a4
commit 2980e7d3ef
4 changed files with 12 additions and 22 deletions

View file

@ -517,11 +517,13 @@ class SrsAudioCodecConfig : public SrsCodecConfig
{
// In FLV specification.
public:
// audio specified
// The audio codec id; for FLV, it's SoundFormat.
SrsAudioCodecId id;
// audio aac specified.
// The audio sample rate; for FLV, it's SoundRate.
SrsAudioSampleRate sound_rate;
// The audio sample size, such as 16 bits; for FLV, it's SoundSize.
SrsAudioSampleBits sound_size;
// The audio number of channels; for FLV, it's SoundType.
// TODO: FIXME: Rename to sound_channels.
SrsAudioChannels sound_type;
int audio_data_rate; // in bps