Skip to content

Commit 8dafd79

Browse files
author
Clement Champetier
committed
AudioFrameDesc: add documentation
1 parent 8a38226 commit 8dafd79

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/AvTranscoder/frame/AudioFrame.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,18 @@ namespace avtranscoder
1717
class AvExport AudioFrameDesc
1818
{
1919
public:
20+
/**
21+
* @warning FPS value is set to 25 by default
22+
*/
2023
AudioFrameDesc( const size_t sampleRate = 0, const size_t channels = 0, const AVSampleFormat sampleFormat = AV_SAMPLE_FMT_NONE )
2124
: _sampleRate( sampleRate )
2225
, _channels( channels )
2326
, _sampleFormat( sampleFormat )
2427
, _fps( 25. )
2528
{}
29+
/**
30+
* @warning FPS value is set to 25 by default
31+
*/
2632
AudioFrameDesc( const size_t sampleRate, const size_t channels, const std::string& sampleFormat )
2733
: _sampleRate( sampleRate )
2834
, _channels( channels )

0 commit comments

Comments
 (0)