Searched refs:kPacketDuration (Results 1 – 1 of 1) sorted by relevance
45 static const int kPacketDuration = 960; // 48 kHz * 20 ms member in webrtc::test::MockAudioDecoder60 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()