Skip to content

Commit 1824094

Browse files
author
Clement Champetier
committed
AudioFrame: added doc
1 parent ee5f730 commit 1824094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/data/decoded/AudioFrame.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class AvExport AudioFrame : public Frame
4545
size_t getSampleRate() const { return av_frame_get_sample_rate(_frame); }
4646
size_t getNbChannels() const { return av_frame_get_channels(_frame); }
4747
size_t getChannelLayout() const { return av_frame_get_channel_layout(_frame); }
48-
std::string getChannelLayoutDesc() const; ///< Get a description of a channel layout.
48+
std::string getChannelLayoutDesc() const; ///< Get a description of a channel layout (example: '5.1').
4949
AVSampleFormat getSampleFormat() const { return static_cast<AVSampleFormat>(_frame->format); }
5050
size_t getNbSamplesPerChannel() const { return _frame->nb_samples; }
5151
AudioFrameDesc desc() const { return AudioFrameDesc(getSampleRate(), getNbChannels(), getSampleFormat()); }

0 commit comments

Comments
 (0)