Skip to content

Commit

Permalink
AudioDecoder isResultPCM() should return true
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Sep 24, 2024
1 parent 2e63c96 commit b1a44c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/AudioCodecs/AudioCodecsBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ class AudioDecoder : public AudioWriter, public AudioInfoSource {

/// If true, the decoding result is PCM data
virtual bool isResultPCM() {
setAudioInfo(info);
return begin();
return true;
}
virtual bool begin(AudioInfo info) override {
setAudioInfo(info);
Expand Down

0 comments on commit b1a44c0

Please sign in to comment.