Lines Matching refs:soundsystem
29 soundsystem->rate = rate;
32 soundsystem->buffersize = buffersize;
34 soundsystem->buffersize = buffersize * sizeof(short);
36 soundsystem->mixbuffer = (s8*)SDL_malloc(soundsystem->buffersize);
37 //soundsystem->soundbuffer = soundsystem->mixbuffer;
38 soundsystem->format = format;
39 soundsystem->channel = channel;
40 soundsystem->prevtimer = 0;
41 soundsystem->soundcursor = 0;
42 soundsystem->numsamples = 0;
43 soundsystem->period = 0x1000000 / rate;
44 soundsystem->cmd = INIT;
49 soundsystem->cmd |= MIX;