Skip to content

Commit

Permalink
Fix IFrame changes
Browse files Browse the repository at this point in the history
  • Loading branch information
runei committed Aug 14, 2024
1 parent ebf318b commit c09ec15
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
namespace roc {
namespace audio {

VorbisDecoder::VorbisDecoder(const SampleSpec& sample_spec) {
VorbisDecoder::VorbisDecoder(const SampleSpec& sample_spec, core::IArena& arena)
: IFrameDecoder(arena) {
// TODO
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace audio {
class VorbisDecoder : public IFrameDecoder {
public:
//! Initialize.
VorbisDecoder(const SampleSpec& sample_spec);
VorbisDecoder(const SampleSpec& sample_spec, core::IArena& arena);

//! End.
~VorbisDecoder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
namespace roc {
namespace audio {

VorbisEncoder::VorbisEncoder(const SampleSpec& sample_spec)
: initialized_(false)
VorbisEncoder::VorbisEncoder(const SampleSpec& sample_spec, core::IArena& arena)
: IFrameEncoder(arena)
, initialized_(false)
, frame_data_(NULL)
, frame_size_(0) {
vorbis_info_init(&vorbis_info_);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace audio {
class VorbisEncoder : public IFrameEncoder {
public:
//! Initialize.
VorbisEncoder(const SampleSpec& sample_spec);
VorbisEncoder(const SampleSpec& sample_spec, core::IArena& arena);

//! End.
~VorbisEncoder();
Expand Down

0 comments on commit c09ec15

Please sign in to comment.