class OpusDecoder

Defined at line 20 of file ../../src/media/sounds/soundplayer/opus_decoder.h

Public Methods

void OpusDecoder ()

Defined at line 25 of file ../../src/media/sounds/soundplayer/opus_decoder.h

void ~OpusDecoder ()

Defined at line 27 of file ../../src/media/sounds/soundplayer/opus_decoder.h

bool CheckHeaderPacket (const uint8_t * data, size_t size)

Checks an initial stream packet to see if the stream is in Opus format.

Defined at line 53 of file ../../src/media/sounds/soundplayer/opus_decoder.cc

bool ProcessPacket (const uint8_t * data, size_t size, bool first, bool last, DiscardableSound & sound)

Processes a packet. |first| indicates whether the packet is the first in the stream. |last|

indicates whether the packet is the last in the stream. Returns false on failure.

Defined at line 83 of file ../../src/media/sounds/soundplayer/opus_decoder.cc