We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a38226 commit 8dafd79Copy full SHA for 8dafd79
src/AvTranscoder/frame/AudioFrame.hpp
@@ -17,12 +17,18 @@ namespace avtranscoder
17
class AvExport AudioFrameDesc
18
{
19
public:
20
+ /**
21
+ * @warning FPS value is set to 25 by default
22
+ */
23
AudioFrameDesc( const size_t sampleRate = 0, const size_t channels = 0, const AVSampleFormat sampleFormat = AV_SAMPLE_FMT_NONE )
24
: _sampleRate( sampleRate )
25
, _channels( channels )
26
, _sampleFormat( sampleFormat )
27
, _fps( 25. )
28
{}
29
30
31
32
AudioFrameDesc( const size_t sampleRate, const size_t channels, const std::string& sampleFormat )
33
34
0 commit comments