Search
lxdream.org :: lxdream/src/aica/audio.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/audio.h
changeset 465:3bd7be575792
prev463:0655796f9bb5
next531:f0fee3ba71d1
author nkeynes
date Sat Oct 27 05:47:21 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix AICA save state section to include the current audio + IO state
file annotate diff log raw
1.1 --- a/src/aica/audio.h Wed Oct 24 21:24:09 2007 +0000
1.2 +++ b/src/aica/audio.h Sat Oct 27 05:47:21 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio.h,v 1.9 2007-10-24 21:24:09 nkeynes Exp $
1.6 + * $Id: audio.h,v 1.10 2007-10-27 05:47:21 nkeynes Exp $
1.7 *
1.8 * Audio engine, ie the part that does the actual work.
1.9 *
1.10 @@ -19,12 +19,15 @@
1.11 #define dream_audio_H 1
1.12
1.13 #include <stdint.h>
1.14 +#include <stdio.h>
1.15 #include <glib/gtypes.h>
1.16
1.17 #ifdef __cplusplus
1.18 extern "C" {
1.19 #endif
1.20
1.21 +#define AUDIO_CHANNEL_COUNT 64
1.22 +
1.23 #define AUDIO_FMT_8BIT 0
1.24 #define AUDIO_FMT_16BIT 1
1.25 #define AUDIO_FMT_ADPCM 2
1.26 @@ -107,6 +110,8 @@
1.27 void audio_start_channel( int channel );
1.28 void audio_stop_channel( int channel );
1.29
1.30 +void audio_save_state( FILE *f );
1.31 +int audio_load_state( FILE *f );
1.32
1.33 #ifdef __cplusplus
1.34 }
.