Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h

Issue 2326003002: Moved codec-specific audio packet splitting into decoders. (Closed)
Patch Set: Reworked packet splitting. Renamed SplitBySamples and AudioCodingUtils. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h b/webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h
index 1083479ad864594ea88807f209aeec44fa3502c9..3ae335ed2727cc793c247baae98c6a77ca279992 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h
+++ b/webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h
@@ -16,6 +16,8 @@
typedef struct iLBC_decinst_t_ IlbcDecoderInstance;
+class SplitIlbcTest;
hlundin-webrtc 2016/09/15 08:49:14 Say what?
ossu 2016/09/15 08:58:11 Ah. That's a left-over from me attempting to do te
hlundin-webrtc 2016/09/15 09:43:38 FRIEND_TEST or FRIEND_TEST_ALL_PREFIXES is your...
+
namespace webrtc {
class AudioDecoderIlbc final : public AudioDecoder {
@@ -25,6 +27,9 @@ class AudioDecoderIlbc final : public AudioDecoder {
bool HasDecodePlc() const override;
size_t DecodePlc(size_t num_frames, int16_t* decoded) override;
void Reset() override;
+ std::vector<ParseResult> ParsePayload(rtc::Buffer* payload,
+ uint32_t timestamp,
+ bool is_primary) override;
int SampleRateHz() const override;
size_t Channels() const override;

Powered by Google App Engine
This is Rietveld 408576698