Make the destructor of AudioCodingModule public.
This allows the type to be used with a scoped_ptr. Remove all calls to the deprecated Destroy() from tests. R=turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2200006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4731 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
#ifndef ACM_TEST_SPATIAL_AUDIO_H
|
||||
#define ACM_TEST_SPATIAL_AUDIO_H
|
||||
|
||||
#include "webrtc/system_wrappers/interface/scoped_ptr.h"
|
||||
#include "ACMTest.h"
|
||||
#include "Channel.h"
|
||||
#include "PCMFile.h"
|
||||
@ -32,9 +33,9 @@ class SpatialAudio : public ACMTest {
|
||||
void EncodeDecode(double leftPanning, double rightPanning);
|
||||
void EncodeDecode();
|
||||
|
||||
AudioCodingModule* _acmLeft;
|
||||
AudioCodingModule* _acmRight;
|
||||
AudioCodingModule* _acmReceiver;
|
||||
scoped_ptr<AudioCodingModule> _acmLeft;
|
||||
scoped_ptr<AudioCodingModule> _acmRight;
|
||||
scoped_ptr<AudioCodingModule> _acmReceiver;
|
||||
Channel* _channel;
|
||||
PCMFile _inFile;
|
||||
PCMFile _outFile;
|
||||
|
||||
Reference in New Issue
Block a user