File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/AvTranscoder/DatasStructures Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ void AudioDesc::setAudioCodec( const AVCodecID codecId )
49
49
initCodecContext ();
50
50
}
51
51
52
- void AudioDesc::setAudioParameters ( const size_t sampleRate, const size_t channels, const AVSampleFormat& sampleFormat )
52
+ void AudioDesc::setAudioParameters ( const size_t sampleRate, const size_t channels, const AVSampleFormat sampleFormat )
53
53
{
54
54
m_codecContext->sample_rate = sampleRate;
55
55
m_codecContext->channels = channels;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class AvExport AudioDesc
27
27
void setAudioCodec ( const std::string& codecName );
28
28
void setAudioCodec ( const AVCodecID codecId );
29
29
30
- void setAudioParameters ( const size_t sampleRate, const size_t channels, const AVSampleFormat& sampleFormat );
30
+ void setAudioParameters ( const size_t sampleRate, const size_t channels, const AVSampleFormat sampleFormat );
31
31
32
32
void set ( const std::string& key, const std::string& flag, const bool enable );
33
33
void set ( const std::string& key, const bool value );
You can’t perform that action at this time.
0 commit comments