File tree 4 files changed +7
-5
lines changed
src/internal_modules/roc_audio/target_libvorbis/roc_audio
4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 12
12
namespace roc {
13
13
namespace audio {
14
14
15
- VorbisDecoder::VorbisDecoder (const SampleSpec& sample_spec) {
15
+ VorbisDecoder::VorbisDecoder (const SampleSpec& sample_spec, core::IArena& arena)
16
+ : IFrameDecoder(arena) {
16
17
// TODO
17
18
}
18
19
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ namespace audio {
23
23
class VorbisDecoder : public IFrameDecoder {
24
24
public:
25
25
// ! Initialize.
26
- VorbisDecoder (const SampleSpec& sample_spec);
26
+ VorbisDecoder (const SampleSpec& sample_spec, core::IArena& arena );
27
27
28
28
// ! End.
29
29
~VorbisDecoder ();
Original file line number Diff line number Diff line change 13
13
namespace roc {
14
14
namespace audio {
15
15
16
- VorbisEncoder::VorbisEncoder (const SampleSpec& sample_spec)
17
- : initialized_(false )
16
+ VorbisEncoder::VorbisEncoder (const SampleSpec& sample_spec, core::IArena& arena)
17
+ : IFrameEncoder(arena)
18
+ , initialized_(false )
18
19
, frame_data_(NULL )
19
20
, frame_size_(0 ) {
20
21
vorbis_info_init (&vorbis_info_);
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ namespace audio {
24
24
class VorbisEncoder : public IFrameEncoder {
25
25
public:
26
26
// ! Initialize.
27
- VorbisEncoder (const SampleSpec& sample_spec);
27
+ VorbisEncoder (const SampleSpec& sample_spec, core::IArena& arena );
28
28
29
29
// ! End.
30
30
~VorbisEncoder ();
You can’t perform that action at this time.
0 commit comments