Skip to content

Commit fb77959

Browse files
author
Clement Champetier
committed
AudioCodec: rename getSampleFormat to getAVSampleFormat
1 parent 033e5ed commit fb77959

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AvTranscoder/codec/AudioCodec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const size_t AudioCodec::getChannels() const
4545
return _codecContext->channels;
4646
}
4747

48-
const AVSampleFormat AudioCodec::getSampleFormat() const
48+
const AVSampleFormat AudioCodec::getAVSampleFormat() const
4949
{
5050
assert( _codecContext != NULL );
5151
return _codecContext->sample_fmt;

src/AvTranscoder/codec/AudioCodec.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class AvExport AudioCodec : public ICodec
1717
AudioFrameDesc getFrameDesc() const;
1818
const size_t getSampleRate() const;
1919
const size_t getChannels() const;
20-
const AVSampleFormat getSampleFormat() const;
20+
const AVSampleFormat getAVSampleFormat() const;
2121

2222
void setAudioParameters( const AudioFrameDesc& audioFrameDesc );
2323
void setAudioParameters( const size_t sampleRate, const size_t channels, const AVSampleFormat sampleFormat );

0 commit comments

Comments
 (0)