An implementation of audio property reading for Ogg Opus.
More...
#include <opusproperties.h>
An implementation of audio property reading for Ogg Opus.
This reads the data from an Ogg Opus stream found in the AudioProperties API.
◆ Properties() [1/2]
◆ ~Properties()
TagLib::Ogg::Opus::Properties::~Properties |
( |
| ) |
|
|
override |
◆ Properties() [2/2]
TagLib::Ogg::Opus::Properties::Properties |
( |
const Properties & |
| ) |
|
|
delete |
◆ bitrate()
int TagLib::Ogg::Opus::Properties::bitrate |
( |
| ) |
const |
|
overridevirtual |
◆ channels()
int TagLib::Ogg::Opus::Properties::channels |
( |
| ) |
const |
|
overridevirtual |
◆ inputSampleRate()
int TagLib::Ogg::Opus::Properties::inputSampleRate |
( |
| ) |
const |
The Opus codec supports decoding at multiple sample rates, there is no single sample rate of the encoded stream. This returns the sample rate of the original audio stream.
◆ lengthInMilliseconds()
int TagLib::Ogg::Opus::Properties::lengthInMilliseconds |
( |
| ) |
const |
|
overridevirtual |
◆ operator=()
◆ opusVersion()
int TagLib::Ogg::Opus::Properties::opusVersion |
( |
| ) |
const |
Returns the Opus version, in the range 0...255.
◆ sampleRate()
int TagLib::Ogg::Opus::Properties::sampleRate |
( |
| ) |
const |
|
overridevirtual |
Returns the sample rate in Hz.
- Note
- Always returns 48000, because Opus can decode any stream at a sample rate of 8, 12, 16, 24, or 48 kHz,
Reimplemented from TagLib::AudioProperties.
The documentation for this class was generated from the following file: