|
| MockExternalPcm16B (int sample_rate_hz) |
|
virtual | ~MockExternalPcm16B () |
|
| MOCK_METHOD0 (Die, void()) |
|
| MOCK_METHOD5 (DecodeInternal, int(const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, int16_t *decoded, SpeechType *speech_type)) |
|
| MOCK_CONST_METHOD0 (HasDecodePlc, bool()) |
|
| MOCK_METHOD2 (DecodePlc, size_t(size_t num_frames, int16_t *decoded)) |
|
| MOCK_METHOD0 (Reset, void()) |
|
| MOCK_METHOD5 (IncomingPacket, int(const uint8_t *payload, size_t payload_len, uint16_t rtp_sequence_number, uint32_t rtp_timestamp, uint32_t arrival_timestamp)) |
|
| MOCK_METHOD0 (ErrorCode, int()) |
|
int | SampleRateHz () const |
|
size_t | Channels () const |
|
| MockExternalPcm16B (int sample_rate_hz) |
|
virtual | ~MockExternalPcm16B () |
|
| MOCK_METHOD0 (Die, void()) |
|
| MOCK_METHOD5 (DecodeInternal, int(const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, int16_t *decoded, SpeechType *speech_type)) |
|
| MOCK_CONST_METHOD0 (HasDecodePlc, bool()) |
|
| MOCK_METHOD2 (DecodePlc, size_t(size_t num_frames, int16_t *decoded)) |
|
| MOCK_METHOD0 (Reset, void()) |
|
| MOCK_METHOD5 (IncomingPacket, int(const uint8_t *payload, size_t payload_len, uint16_t rtp_sequence_number, uint32_t rtp_timestamp, uint32_t arrival_timestamp)) |
|
| MOCK_METHOD0 (ErrorCode, int()) |
|
int | SampleRateHz () const |
|
size_t | Channels () const |
|
| AudioDecoder ()=default |
|
virtual | ~AudioDecoder ()=default |
|
virtual std::vector< ParseResult > | ParsePayload (rtc::Buffer &&payload, uint32_t timestamp) |
|
int | Decode (const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, size_t max_decoded_bytes, int16_t *decoded, SpeechType *speech_type) |
|
int | DecodeRedundant (const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, size_t max_decoded_bytes, int16_t *decoded, SpeechType *speech_type) |
|
virtual bool | HasDecodePlc () const |
|
virtual size_t | DecodePlc (size_t num_frames, int16_t *decoded) |
|
virtual void | Reset ()=0 |
|
virtual int | IncomingPacket (const uint8_t *payload, size_t payload_len, uint16_t rtp_sequence_number, uint32_t rtp_timestamp, uint32_t arrival_timestamp) |
|
virtual int | ErrorCode () |
|
virtual int | PacketDuration (const uint8_t *encoded, size_t encoded_len) const |
|
virtual int | PacketDurationRedundant (const uint8_t *encoded, size_t encoded_len) const |
|
virtual bool | PacketHasFec (const uint8_t *encoded, size_t encoded_len) const |
|
| AudioDecoder ()=default |
|
virtual | ~AudioDecoder ()=default |
|
virtual std::vector< ParseResult > | ParsePayload (rtc::Buffer &&payload, uint32_t timestamp) |
|
int | Decode (const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, size_t max_decoded_bytes, int16_t *decoded, SpeechType *speech_type) |
|
int | DecodeRedundant (const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, size_t max_decoded_bytes, int16_t *decoded, SpeechType *speech_type) |
|
virtual bool | HasDecodePlc () const |
|
virtual size_t | DecodePlc (size_t num_frames, int16_t *decoded) |
|
virtual void | Reset ()=0 |
|
virtual int | IncomingPacket (const uint8_t *payload, size_t payload_len, uint16_t rtp_sequence_number, uint32_t rtp_timestamp, uint32_t arrival_timestamp) |
|
virtual int | ErrorCode () |
|
virtual int | PacketDuration (const uint8_t *encoded, size_t encoded_len) const |
|
virtual int | PacketDurationRedundant (const uint8_t *encoded, size_t encoded_len) const |
|
virtual bool | PacketHasFec (const uint8_t *encoded, size_t encoded_len) const |
|
|
enum | SpeechType { kSpeech = 1,
kComfortNoise = 2,
kSpeech = 1,
kComfortNoise = 2
} |
|
enum | { kNotImplemented = -2
} |
|
enum | SpeechType { kSpeech = 1,
kComfortNoise = 2,
kSpeech = 1,
kComfortNoise = 2
} |
|
enum | { kNotImplemented = -2
} |
|
virtual int | DecodeInternal (const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, int16_t *decoded, SpeechType *speech_type)=0 |
|
virtual int | DecodeRedundantInternal (const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, int16_t *decoded, SpeechType *speech_type) |
|
virtual int | DecodeInternal (const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, int16_t *decoded, SpeechType *speech_type)=0 |
|
virtual int | DecodeRedundantInternal (const uint8_t *encoded, size_t encoded_len, int sample_rate_hz, int16_t *decoded, SpeechType *speech_type) |
|
static SpeechType | ConvertSpeechType (int16_t type) |
|
static SpeechType | ConvertSpeechType (int16_t type) |
|