Skip to content

Commit 4286a81

Browse files
author
Clement Champetier
committed
AudioEncoder: add comment in setProfile
1 parent b962588 commit 4286a81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/AvTranscoder/encoder/AudioEncoder.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,10 @@ bool AudioEncoder::encodeFrame( Frame& codedFrame )
147147

148148
void AudioEncoder::setProfile( const ProfileLoader::Profile& profile, const AudioFrameDesc& frameDesc )
149149
{
150+
// set sampleRate, number of channels, sample format
150151
_codec.setAudioParameters( frameDesc );
151-
152+
153+
// set encoder options
152154
for( ProfileLoader::Profile::const_iterator it = profile.begin(); it != profile.end(); ++it )
153155
{
154156
if( (*it).first == constants::avProfileIdentificator ||

0 commit comments

Comments
 (0)