mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-21 14:49:36 +02:00
21 lines
448 B
C
21 lines
448 B
C
#ifndef DOS_SB_H_
|
|
#define DOS_SB_H_
|
|
|
|
typedef void (*sbmix_t)(void *buffer, unsigned int size);
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
extern int sb_init(int *sample_rate, int *bps, int *buf_samples, int *stereo);
|
|
extern void sb_shutdown(void);
|
|
extern int sb_startoutput(sbmix_t fillbuf);
|
|
extern void sb_stopoutput(void);
|
|
extern void sb_setrate(int rate);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* DOS_SB_H_ */
|