kwiberg@webrtc.org
8b2058e733
Remove the state_ member from AudioDecoder
...
The subclasses that need a state pointer should declare them---with
the right type, not void*, to get rid of all those casts.
Two small but not quite trivial cleanups are included because they
blocked the state_ removal:
- AudioDecoderG722Stereo now inherits directly from AudioDecoder
instead of being a subclass of AudioDecoderG722.
- AudioDecoder now has a CngDecoderInstance member function, which
is implemented only by AudioDecoderCng. This replaces the previous
practice of calling AudioDecoder::state() and casting the result
to a CNG_dec_inst*. It still isn't pretty, but now the blemish is
plainly visible in the AudioDecoder class declaration.
R=henrik.lundin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/24169005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7644 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-06 07:54:31 +00:00
..
2014-11-06 07:54:31 +00:00
2014-11-04 14:03:58 +00:00
2014-11-04 13:23:36 +00:00
2014-11-04 08:53:10 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-11-06 07:54:31 +00:00
2014-11-06 07:54:31 +00:00
2014-11-04 11:51:46 +00:00
2014-10-31 18:08:09 +00:00
2014-11-06 07:54:31 +00:00
2014-09-04 10:58:43 +00:00
2014-09-04 10:58:43 +00:00
2014-09-04 10:58:43 +00:00
2014-09-04 10:58:43 +00:00
2014-09-04 10:58:43 +00:00
2014-09-04 10:58:43 +00:00
2014-09-04 09:55:40 +00:00
2014-08-07 12:27:37 +00:00
2014-08-07 12:27:37 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-11-06 07:54:31 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-11-04 14:03:58 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-11-04 11:51:46 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-09-04 07:39:21 +00:00
2014-09-04 07:39:21 +00:00
2014-09-04 09:55:40 +00:00
2014-10-20 08:24:54 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-11-04 14:03:58 +00:00
2014-11-04 14:03:58 +00:00
2014-11-04 14:03:58 +00:00
2014-11-04 08:53:10 +00:00
2014-09-04 09:55:40 +00:00
2014-10-23 12:57:56 +00:00
2014-10-07 06:37:39 +00:00
2014-08-07 12:27:37 +00:00
2014-10-31 18:08:09 +00:00
2014-09-04 09:55:40 +00:00
2014-11-06 07:54:31 +00:00
2014-06-09 08:10:28 +00:00
2014-06-10 05:42:53 +00:00
2014-11-04 14:03:58 +00:00
2014-11-04 14:03:58 +00:00
2014-11-04 14:03:58 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-10-08 12:10:53 +00:00
2014-10-08 12:10:53 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-07-18 21:11:27 +00:00
2014-06-09 08:10:28 +00:00