DSP_* constants moved from playback.h to dsp.h.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7529 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thom Johansen 2005-09-21 13:09:10 +00:00
parent 5f78b9a530
commit f60e6200f6
4 changed files with 21 additions and 21 deletions

View file

@ -20,7 +20,7 @@
/* "helper functions" common to all codecs */
#include "plugin.h"
#include "playback.h"
#include "dsp.h"
#include "codeclib.h"
#include "xxx2wav.h"
#include "id3.h"

View file

@ -18,7 +18,7 @@
****************************************************************************/
#include "codec.h"
#include "playback.h"
#include "dsp.h"
#include "lib/codeclib.h"
#include <codecs/libmusepack/musepack.h>

View file

@ -28,6 +28,25 @@
#define STEREO_NONINTERLEAVED 1
#define STEREO_MONO 2
enum {
CODEC_SET_FILEBUF_WATERMARK = 1,
CODEC_SET_FILEBUF_CHUNKSIZE,
CODEC_SET_FILEBUF_LIMIT,
CODEC_DSP_ENABLE,
DSP_SET_FREQUENCY,
DSP_SWITCH_FREQUENCY,
DSP_SET_CLIP_MIN,
DSP_SET_CLIP_MAX,
DSP_SET_SAMPLE_DEPTH,
DSP_SET_STEREO_MODE,
DSP_RESET,
DSP_DITHER,
DSP_SET_TRACK_GAIN,
DSP_SET_ALBUM_GAIN,
DSP_SET_TRACK_PEAK,
DSP_SET_ALBUM_PEAK
};
long dsp_process(char *dest, char *src[], long size);
long dsp_input_size(long size);
long dsp_output_size(long size);

View file

@ -27,25 +27,6 @@
#include "id3.h"
#include "mp3data.h"
enum {
CODEC_SET_FILEBUF_WATERMARK = 1,
CODEC_SET_FILEBUF_CHUNKSIZE,
CODEC_SET_FILEBUF_LIMIT,
CODEC_DSP_ENABLE,
DSP_SET_FREQUENCY,
DSP_SWITCH_FREQUENCY,
DSP_SET_CLIP_MIN,
DSP_SET_CLIP_MAX,
DSP_SET_SAMPLE_DEPTH,
DSP_SET_STEREO_MODE,
DSP_RESET,
DSP_DITHER,
DSP_SET_TRACK_GAIN,
DSP_SET_ALBUM_GAIN,
DSP_SET_TRACK_PEAK,
DSP_SET_ALBUM_PEAK
};
/* Not yet implemented. */
#define CODEC_SET_AUDIOBUF_WATERMARK 4