xoreos
0.0.5
|
Decoding MP3 (MPEG-1 Audio Layer 3). More...
#include <cassert>
#include <cstring>
#include <mad.h>
#include "src/common/scopedptr.h"
#include "src/common/disposableptr.h"
#include "src/common/util.h"
#include "src/common/readstream.h"
#include "src/sound/audiostream.h"
#include "src/sound/decoders/mp3.h"
Go to the source code of this file.
Classes | |
class | Sound::MP3Stream |
Namespaces | |
Sound | |
Functions | |
static int | Sound::scale_sample (mad_fixed_t sample) |
RewindableAudioStream * | Sound::makeMP3Stream (Common::SeekableReadStream *stream, bool disposeAfterUse) |
Create a new SeekableAudioStream from the MP3 data in the given stream. More... | |
Variables | |
static const mad_timer_t | Sound::timer_zero = {0, 0} |
Decoding MP3 (MPEG-1 Audio Layer 3).
Definition in file mp3.cpp.