Home | History | Annotate | Download | only in amigaos

Lines Matching refs:mixbuf

137 	audio_req[current_buffer] -> ahir_Std. io_Data                = mixbuf[current_buffer];
155 return(mixbuf[current_buffer]);
198 D(bug("Freeing mixbuf[0]...\n"));
199 if ( mixbuf[0] != NULL ) {
200 myfree(mixbuf[0]);
201 // SDL_FreeAudioMem(mixbuf[0]);
202 mixbuf[0] = NULL;
205 D(bug("Freeing mixbuf[1]...\n"));
206 if ( mixbuf[1] != NULL ) {
207 myfree(mixbuf[1]);
208 // SDL_FreeAudioMem(mixbuf[1]);
209 mixbuf[1] = NULL;
305 mixbuf[0] = (Uint8 *)mymalloc(spec->size);
306 mixbuf[1] = (Uint8 *)mymalloc(spec->size);
320 if ( mixbuf[0] == NULL || mixbuf[1] == NULL ) {
325 D(bug("Before mixbuf memset\n"));
327 SDL_memset(mixbuf[0], spec->silence, spec->size);
328 SDL_memset(mixbuf[1], spec->silence, spec->size);
333 D(bug("AHI opened: freq:%ld mixbuf:%lx/%lx buflen:%ld bits:%ld channels:%ld\n",spec->freq,mixbuf[0],mixbuf[1],spec->size,this->hidden->bytespersample*8,spec->channels));