From 21df126c88230f11749bc9241ed51a26d31f0810 Mon Sep 17 00:00:00 2001 From: Joel de Vahl Date: Tue, 2 Oct 2007 16:19:25 +0000 Subject: sound fixes and initial lock implementation --- src/engine/interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/engine/interface.h') diff --git a/src/engine/interface.h b/src/engine/interface.h index 18a434dd..c1a0b282 100644 --- a/src/engine/interface.h +++ b/src/engine/interface.h @@ -356,9 +356,10 @@ float snd_get_master_volume(); void snd_set_master_volume(float val); int snd_load_wav(const char *filename); int snd_load_wv(const char *filename); -int snd_play(int cid, int sid, int loop, int x, int y); +int snd_play(int cid, int sid, int loop, float x, float y); void snd_stop(int id); void snd_set_vol(int id, float vol); +void snd_set_listener_pos(float x, float y); int snd_shutdown(); /* -- cgit 1.4.1