dumb_resample.h File Reference

#include <stdlib.h>
#include <stdio.h>
#include "types.h"

Include dependency graph for dumb_resample.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  audiere

Classes

struct  audiere::DUMB_RESAMPLER

Defines

#define ASSERT(n)
#define TRACE   1 ? (void)0 : (void)printf
#define DUMB_RQ_ALIASING   0
#define DUMB_RQ_LINEAR   1
#define DUMB_RQ_CUBIC   2
#define DUMB_RQ_N_LEVELS   3

Typedefs

typedef audiere::s64 LONG_LONG
typedef int audiere::sample_t
typedef DUMB_RESAMPLER audiere::DUMB_RESAMPLER
typedef void(* audiere::DUMB_RESAMPLE_PICKUP )(DUMB_RESAMPLER *resampler, void *data)

Functions

void audiere::dumb_reset_resampler (DUMB_RESAMPLER *resampler, sample_t *src, long pos, long start, long end)
DUMB_RESAMPLERaudiere::dumb_start_resampler (sample_t *src, long pos, long start, long end)
long audiere::dumb_resample (DUMB_RESAMPLER *resampler, sample_t *dst, long dst_size, float volume, float delta)
sample_t audiere::dumb_resample_get_current_sample (DUMB_RESAMPLER *resampler, float volume)
void audiere::dumb_end_resampler (DUMB_RESAMPLER *resampler)

Variables

int audiere::dumb_resampling_quality


Define Documentation

#define ASSERT  ) 
 

Definition at line 19 of file dumb_resample.h.

Referenced by audiere::dumb_resample(), and audiere::dumb_resample_get_current_sample().

#define DUMB_RQ_ALIASING   0
 

Definition at line 34 of file dumb_resample.h.

Referenced by audiere::dumb_resample().

#define DUMB_RQ_CUBIC   2
 

Definition at line 36 of file dumb_resample.h.

#define DUMB_RQ_LINEAR   1
 

Definition at line 35 of file dumb_resample.h.

Referenced by audiere::dumb_resample(), audiere::dumb_resample_get_current_sample(), and audiere::MODInputStream::initialize().

#define DUMB_RQ_N_LEVELS   3
 

Definition at line 37 of file dumb_resample.h.

Referenced by audiere::dumb_reset_resampler().

#define TRACE   1 ? (void)0 : (void)printf
 

Definition at line 22 of file dumb_resample.h.


Typedef Documentation

typedef audiere::s64 LONG_LONG
 

Definition at line 27 of file dumb_resample.h.


Generated on Mon Feb 13 23:08:11 2006 for audiere by  doxygen 1.4.6