Search
lxdream.org :: lxdream/src/aica/audio.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/audio.h
changeset 82:81a4acf75f10
prev74:771ee2b1e4f8
next91:61bb3ee00cf8
author nkeynes
date Tue Jan 17 12:54:02 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Add basic attempt at panning + proper volume
file annotate diff log raw
1.1 --- a/src/aica/audio.h Thu Jan 12 12:38:59 2006 +0000
1.2 +++ b/src/aica/audio.h Tue Jan 17 12:54:02 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio.h,v 1.3 2006-01-12 12:38:59 nkeynes Exp $
1.6 + * $Id: audio.h,v 1.4 2006-01-17 12:54:02 nkeynes Exp $
1.7 *
1.8 * Audio engine, ie the part that does the actual work.
1.9 *
1.10 @@ -42,8 +42,8 @@
1.11 uint32_t end;
1.12 gboolean loop;
1.13 uint32_t loop_start;
1.14 - int vol_left; /* 0..255 */
1.15 - int vol_right; /* 0..255 */
1.16 + int vol; /* 0..255 */
1.17 + int pan; /* 0 (left) .. 31 (right) */
1.18 uint32_t sample_rate;
1.19 int sample_format;
1.20 /* Envelope etc stuff */
.