Home
last modified time | relevance | path

Searched refs:kPacketDuration (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/
Dneteq_network_stats_unittest.cc45 static const int kPacketDuration = 960; // 48 kHz * 20 ms member in webrtc::test::MockAudioDecoder
60 size_t Duration() const override { return kPacketDuration; } in Duration()
65 sizeof(int16_t) * kPacketDuration * num_channels_; in Decode()
68 sizeof(int16_t) * kPacketDuration * num_channels_); in Decode()
69 return DecodeResult{kPacketDuration * num_channels_, kSpeech}; in Decode()
86 results.emplace_back(timestamp - kPacketDuration, 1, in ParsePayload()
99 return kPacketDuration; in PacketDuration()