Search
lxdream.org :: lxdream/src/aica/audio.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/audio.h
changeset 434:8af49a412d92
prev111:230243c2b520
next463:0655796f9bb5
author nkeynes
date Sun Oct 21 05:31:07 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Rename mmr_win.c to mmio_win.c
file annotate diff log raw
1.1 --- a/src/aica/audio.h Thu Mar 16 12:41:59 2006 +0000
1.2 +++ b/src/aica/audio.h Sun Oct 21 05:31:07 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio.h,v 1.7 2006-03-16 12:41:59 nkeynes Exp $
1.6 + * $Id: audio.h,v 1.8 2007-10-09 11:37:36 nkeynes Exp $
1.7 *
1.8 * Audio engine, ie the part that does the actual work.
1.9 *
1.10 @@ -37,7 +37,7 @@
1.11
1.12 typedef struct audio_channel {
1.13 gboolean active;
1.14 - uint32_t posn;
1.15 + uint32_t posn; /* current sample #, 0 = first sample */
1.16 uint32_t posn_left;
1.17 uint32_t start;
1.18 uint32_t end;
1.19 @@ -49,7 +49,6 @@
1.20 int sample_format;
1.21 /* Envelope etc stuff */
1.22 /* ADPCM */
1.23 - int adpcm_nibble; /* 0 = low nibble, 1 = high nibble */
1.24 int adpcm_step;
1.25 int adpcm_predict;
1.26 } *audio_channel_t;
1.27 @@ -102,6 +101,7 @@
1.28 */
1.29 audio_channel_t audio_get_channel( int channel );
1.30
1.31 +void audio_start_stop_channel( int channel, gboolean start );
1.32 void audio_start_channel( int channel );
1.33 void audio_stop_channel( int channel );
1.34
.