kwave
18.07.70
|
#include "config.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <id3/globals.h>
#include <id3/misc_support.h>
#include <id3/tag.h>
#include <QDate>
#include <QDateTime>
#include <QLatin1Char>
#include <QTime>
#include "libkwave/Compression.h"
#include "libkwave/GenreType.h"
#include "libkwave/MessageBox.h"
#include "libkwave/MultiWriter.h"
#include "libkwave/Sample.h"
#include "libkwave/SampleArray.h"
#include "libkwave/String.h"
#include "libkwave/Utils.h"
#include "libkwave/Writer.h"
#include "ID3_QIODeviceReader.h"
#include "MP3CodecPlugin.h"
#include "MP3Decoder.h"
Go to the source code of this file.
Classes | |
struct | Kwave::audio_dither |
Namespaces | |
Kwave | |
Functions | |
static enum mad_flow | _input_adapter (void *data, struct mad_stream *stream) |
static enum mad_flow | _output_adapter (void *data, struct mad_header const *header, struct mad_pcm *pcm) |
static enum mad_flow | _error_adapter (void *data, struct mad_stream *stream, struct mad_frame *frame) |
static quint32 | prng (quint32 state) |
static qint32 | audio_linear_dither (unsigned int bits, mad_fixed_t sample, Kwave::audio_dither *dither) |
|
static |
Definition at line 493 of file MP3Decoder.cpp.
References Kwave::MP3Decoder::handleError().
Referenced by Kwave::MP3Decoder::decode().
|
static |
Definition at line 474 of file MP3Decoder.cpp.
References Kwave::MP3Decoder::fillInput().
Referenced by Kwave::MP3Decoder::decode().
|
static |
Definition at line 482 of file MP3Decoder.cpp.
References Kwave::MP3Decoder::processOutput().
Referenced by Kwave::MP3Decoder::decode().
|
inlinestatic |
generic linear sample quantize and dither routine (copied from mpg231, mad.c)
Definition at line 626 of file MP3Decoder.cpp.
References Kwave::audio_dither::error, prng(), and Kwave::audio_dither::random.
Referenced by Kwave::MP3Decoder::processOutput().
|
inlinestatic |
32-bit pseudo-random number generator (copied from mpg231, mad.c)
Definition at line 616 of file MP3Decoder.cpp.
Referenced by audio_linear_dither().