X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsound.cpp;fp=src%2Fsound.cpp;h=e366830664797c133f64079200cbd2c9ae5b41d4;hb=d22f243fc585a46e4c29d00bd32727d9f9f4055c;hp=3be768305629b37a3d8e8d7d8ff38e67ede1297d;hpb=1c26b00fe4ae49984de2d33f7d13c20760664dd9;p=thunder diff --git a/src/sound.cpp b/src/sound.cpp index 3be7683..e366830 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -69,6 +69,7 @@ void InitSound(void) desired.samples = 1024; desired.callback = SoundFunc; desired.userdata = NULL; + // Also, should check to see if it got the hardware it needed, correct sample size, etc. if (SDL_OpenAudio(&desired, &obtained) < 0) { @@ -85,8 +86,8 @@ void InitSound(void) void SpawnSound(int type, int snd, int channel/* = 0*/) { - extern uint32_t psg_lens[16]; - extern uint8_t * psg_adrs[16]; +// extern uint32_t psg_lens[16]; +// extern uint8_t * psg_adrs[16]; // extern uint32_t voc_lens[32]; // extern uint8_t * voc_adrs[32]; // extern uint32_t fm_lens[14];