|
PS2SDK
PS2 Homebrew Libraries
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | upsample_t |
Typedefs | |
| typedef struct upsample_t | upsample_t |
| typedef int(* | upsampler_t) (struct upsample_t *up) |
Functions | |
| upsampler_t | find_upsampler (int freq, int bits, int channels) |
audsrv IOP-side upsamplers
Definition in file upsamplers.h.
| struct upsample_t |
Definition at line 18 of file upsamplers.h.
| Data Fields | ||
|---|---|---|
| short * | left | |
| short * | right | |
| const unsigned char * | src | |
| upsampler_t find_upsampler | ( | int | freq, |
| int | bits, | ||
| int | channels | ||
| ) |
Returns an upsampler from a specified format to SPU2's native
| freq | frequency used |
| bits | bits per sample |
| channels | number of audio channels |
Will return a function to convert source audio to Playstation's native. Note a very limited selection of upsamplers are available, only the most commonly used.
Definition at line 636 of file upsamplers.c.
Referenced by audsrv_format_ok().