commit | 89df0928071d156777aa82755e701755b4829576 | [log] [tgz] |
---|---|---|
author | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Thu Sep 12 01:27:43 2013 +0000 |
committer | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Thu Sep 12 01:27:43 2013 +0000 |
tree | f7502c9f05a7351b5fbc15df889d151f57b6641e | |
parent | 5eb997a2fdd161a09b160baed7c9e0167b8f0e59 [diff] [blame] |
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
diff --git a/webrtc/modules/audio_coding/main/test/TestStereo.h b/webrtc/modules/audio_coding/main/test/TestStereo.h index 38a9793..53e4f28 100644 --- a/webrtc/modules/audio_coding/main/test/TestStereo.h +++ b/webrtc/modules/audio_coding/main/test/TestStereo.h
@@ -13,6 +13,7 @@ #include <math.h> +#include "webrtc/system_wrappers/interface/scoped_ptr.h" #include "ACMTest.h" #include "Channel.h" #include "PCMFile.h" @@ -83,8 +84,8 @@ int test_mode_; - AudioCodingModule* acm_a_; - AudioCodingModule* acm_b_; + scoped_ptr<AudioCodingModule> acm_a_; + scoped_ptr<AudioCodingModule> acm_b_; TestPackStereo* channel_a2b_;