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)
{
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];