summaryrefslogtreecommitdiff
path: root/tools/adpcm.h
blob: 7dcee2e4b3a19eb2b0a56fe0c9c761fc2a5277ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _PSX_ADPCM_H
#define _PSX_ADPCM_H

enum
{
	FMT_U8, // unsigned 8-bit
	FMT_S16, // signed 16-bit
};

int SsAdpcmPack(void *pcm_data, void *adpcm_data, int sample_len,
				int sample_fmt, int adpcm_len, int enable_looping,
				int loop_start);

#endif