/external/qemu/distrib/sdl-1.2.12/src/audio/windx5/ |
D | SDL_dx5audio.c | 257 result = IDirectSoundBuffer_GetCurrentPosition(mixbuf, &junk, &cursor); in DX5_WaitAudio_BusyWait() 260 IDirectSoundBuffer_Restore(mixbuf); in DX5_WaitAudio_BusyWait() 273 IDirectSoundBuffer_GetStatus(mixbuf, &status); in DX5_WaitAudio_BusyWait() 275 IDirectSoundBuffer_Restore(mixbuf); in DX5_WaitAudio_BusyWait() 276 IDirectSoundBuffer_GetStatus(mixbuf, &status); in DX5_WaitAudio_BusyWait() 282 result = IDirectSoundBuffer_Play(mixbuf, 0, 0, DSBPLAY_LOOPING); in DX5_WaitAudio_BusyWait() 293 result = IDirectSoundBuffer_GetCurrentPosition(mixbuf, in DX5_WaitAudio_BusyWait() 309 IDirectSoundBuffer_GetStatus(mixbuf, &status); in DX6_WaitAudio_EventWait() 311 IDirectSoundBuffer_Restore(mixbuf); in DX6_WaitAudio_EventWait() 312 IDirectSoundBuffer_GetStatus(mixbuf, &status); in DX6_WaitAudio_EventWait() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/audio/amigaos/ |
D | SDL_ahiaudio.c | 137 audio_req[current_buffer] -> ahir_Std. io_Data = mixbuf[current_buffer]; in AHI_PlayAudio() 155 return(mixbuf[current_buffer]); in AHI_GetAudioBuf() 199 if ( mixbuf[0] != NULL ) { in AHI_CloseAudio() 200 myfree(mixbuf[0]); in AHI_CloseAudio() 202 mixbuf[0] = NULL; in AHI_CloseAudio() 206 if ( mixbuf[1] != NULL ) { in AHI_CloseAudio() 207 myfree(mixbuf[1]); in AHI_CloseAudio() 209 mixbuf[1] = NULL; in AHI_CloseAudio() 305 mixbuf[0] = (Uint8 *)mymalloc(spec->size); in AHI_OpenAudio() 306 mixbuf[1] = (Uint8 *)mymalloc(spec->size); in AHI_OpenAudio() [all …]
|
D | SDL_ahiaudio.h | 48 Uint8 *mixbuf[2]; /* The app mixing buffer */ member 56 #define mixbuf (this->hidden->mixbuf) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/disk/ |
D | SDL_diskaudio.c | 131 this->hidden->mixbuf, 1, in DISKAUD_PlayAudio() 145 return(this->hidden->mixbuf); in DISKAUD_GetAudioBuf() 150 if ( this->hidden->mixbuf != NULL ) { in DISKAUD_CloseAudio() 151 SDL_FreeAudioMem(this->hidden->mixbuf); in DISKAUD_CloseAudio() 152 this->hidden->mixbuf = NULL; in DISKAUD_CloseAudio() 177 this->hidden->mixbuf = (Uint8 *) SDL_AllocAudioMem(this->hidden->mixlen); in DISKAUD_OpenAudio() 178 if ( this->hidden->mixbuf == NULL ) { in DISKAUD_OpenAudio() 181 SDL_memset(this->hidden->mixbuf, spec->silence, spec->size); in DISKAUD_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dummy/ |
D | SDL_dummyaudio.c | 116 return(this->hidden->mixbuf); in DUMMYAUD_GetAudioBuf() 121 if ( this->hidden->mixbuf != NULL ) { in DUMMYAUD_CloseAudio() 122 SDL_FreeAudioMem(this->hidden->mixbuf); in DUMMYAUD_CloseAudio() 123 this->hidden->mixbuf = NULL; in DUMMYAUD_CloseAudio() 133 this->hidden->mixbuf = (Uint8 *) SDL_AllocAudioMem(this->hidden->mixlen); in DUMMYAUD_OpenAudio() 134 if ( this->hidden->mixbuf == NULL ) { in DUMMYAUD_OpenAudio() 137 SDL_memset(this->hidden->mixbuf, spec->silence, spec->size); in DUMMYAUD_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/sun/ |
D | SDL_sunaudio.c | 177 sndbuf = mixbuf; in DSP_PlayAudio() 192 sndbuf = (Sint16 *)mixbuf; in DSP_PlayAudio() 217 if ( write(audio_fd, mixbuf, this->spec.size) < 0 ) { in DSP_PlayAudio() 227 return(mixbuf); in DSP_GetAudioBuf() 232 if ( mixbuf != NULL ) { in DSP_CloseAudio() 233 SDL_FreeAudioMem(mixbuf); in DSP_CloseAudio() 234 mixbuf = NULL; in DSP_CloseAudio() 253 mixbuf = NULL; in DSP_OpenAudio() 371 mixbuf = (Uint8 *)SDL_AllocAudioMem(spec->size); in DSP_OpenAudio() 372 if ( mixbuf == NULL ) { in DSP_OpenAudio() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dc/ |
D | SDL_dcaudio.c | 164 spu_memload(this->hidden->leftpos+offset,this->hidden->mixbuf,this->hidden->mixlen); in DCAUD_PlayAudio() 168 …this->hidden->leftpos+offset,this->hidden->rightpos+offset,this->hidden->mixbuf,this->hidden->mixl… in DCAUD_PlayAudio() 170 …this->hidden->leftpos+offset,this->hidden->rightpos+offset,this->hidden->mixbuf,this->hidden->mixl… in DCAUD_PlayAudio() 189 return(this->hidden->mixbuf); in DCAUD_GetAudioBuf() 196 if ( this->hidden->mixbuf != NULL ) { in DCAUD_CloseAudio() 197 SDL_FreeAudioMem(this->hidden->mixbuf); in DCAUD_CloseAudio() 198 this->hidden->mixbuf = NULL; in DCAUD_CloseAudio() 234 this->hidden->mixbuf = (Uint8 *) SDL_AllocAudioMem(this->hidden->mixlen); in DCAUD_OpenAudio() 235 if ( this->hidden->mixbuf == NULL ) { in DCAUD_OpenAudio() 238 SDL_memset(this->hidden->mixbuf, spec->silence, spec->size); in DCAUD_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dsp/ |
D | SDL_dspaudio.c | 135 if (write(audio_fd, mixbuf, mixlen)==-1) in DSP_PlayAudio() 148 return(mixbuf); in DSP_GetAudioBuf() 153 if ( mixbuf != NULL ) { in DSP_CloseAudio() 154 SDL_FreeAudioMem(mixbuf); in DSP_CloseAudio() 155 mixbuf = NULL; in DSP_CloseAudio() 186 mixbuf = NULL; in DSP_OpenAudio() 328 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in DSP_OpenAudio() 329 if ( mixbuf == NULL ) { in DSP_OpenAudio() 333 SDL_memset(mixbuf, spec->silence, spec->size); in DSP_OpenAudio()
|
D | SDL_dspaudio.h | 40 Uint8 *mixbuf; member 48 #define mixbuf (this->hidden->mixbuf) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dmedia/ |
D | SDL_irixaudio.c | 119 if ( alWriteFrames(audio_port, mixbuf, this->spec.samples) < 0 ) { in AL_PlayAudio() 127 return(mixbuf); in AL_GetAudioBuf() 132 if ( mixbuf != NULL ) { in AL_CloseAudio() 133 SDL_FreeAudioMem(mixbuf); in AL_CloseAudio() 134 mixbuf = NULL; in AL_CloseAudio() 232 mixbuf = (Uint8 *) SDL_AllocAudioMem(spec->size); in AL_OpenAudio() 233 if (mixbuf == NULL) { in AL_OpenAudio() 237 SDL_memset(mixbuf, spec->silence, spec->size); in AL_OpenAudio()
|
D | SDL_irixaudio.h | 38 Uint8 *mixbuf; /* The app mixing buffer */ member 43 #define mixbuf (this->hidden->mixbuf) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/arts/ |
D | SDL_artsaudio.c | 229 written = SDL_NAME(arts_write)(stream, mixbuf, mixlen); in ARTS_PlayAudio() 247 return(mixbuf); in ARTS_GetAudioBuf() 252 if ( mixbuf != NULL ) { in ARTS_CloseAudio() 253 SDL_FreeAudioMem(mixbuf); in ARTS_CloseAudio() 254 mixbuf = NULL; in ARTS_CloseAudio() 272 mixbuf = NULL; in ARTS_OpenAudio() 337 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in ARTS_OpenAudio() 338 if ( mixbuf == NULL ) { in ARTS_OpenAudio() 341 SDL_memset(mixbuf, spec->silence, spec->size); in ARTS_OpenAudio()
|
D | SDL_artsaudio.h | 42 Uint8 *mixbuf; member 54 #define mixbuf (this->hidden->mixbuf) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/esd/ |
D | SDL_esdaudio.c | 214 written = write(audio_fd, mixbuf, mixlen); in ESD_PlayAudio() 232 return(mixbuf); in ESD_GetAudioBuf() 237 if ( mixbuf != NULL ) { in ESD_CloseAudio() 238 SDL_FreeAudioMem(mixbuf); in ESD_CloseAudio() 239 mixbuf = NULL; in ESD_CloseAudio() 312 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in ESD_OpenAudio() 313 if ( mixbuf == NULL ) { in ESD_OpenAudio() 316 SDL_memset(mixbuf, spec->silence, spec->size); in ESD_OpenAudio()
|
D | SDL_esdaudio.h | 40 Uint8 *mixbuf; member 52 #define mixbuf (this->hidden->mixbuf) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/ |
D | SDL_bsdaudio.c | 196 written = write(audio_fd, &mixbuf[p], mixlen-p); in OBSD_PlayAudio() 228 return(mixbuf); in OBSD_GetAudioBuf() 234 if(mixbuf != NULL) { in OBSD_CloseAudio() 235 SDL_FreeAudioMem(mixbuf); in OBSD_CloseAudio() 236 mixbuf = NULL; in OBSD_CloseAudio() 331 mixbuf = NULL; in OBSD_OpenAudio() 389 mixbuf = (Uint8*)SDL_AllocAudioMem(mixlen); in OBSD_OpenAudio() 390 if(mixbuf == NULL) { in OBSD_OpenAudio() 393 SDL_memset(mixbuf, spec->silence, spec->size); in OBSD_OpenAudio()
|
D | SDL_bsdaudio.h | 40 Uint8 *mixbuf; member 53 #define mixbuf (this->hidden->mixbuf) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/nas/ |
D | SDL_nasaudio.c | 128 …is->hidden->aud, this->hidden->flow, 0, this->hidden->mixlen, this->hidden->mixbuf, AuFalse, NULL); in NAS_PlayAudio() 139 return(this->hidden->mixbuf); in NAS_GetAudioBuf() 144 if ( this->hidden->mixbuf != NULL ) { in NAS_CloseAudio() 145 SDL_FreeAudioMem(this->hidden->mixbuf); in NAS_CloseAudio() 146 this->hidden->mixbuf = NULL; in NAS_CloseAudio() 231 this->hidden->mixbuf = NULL; in NAS_OpenAudio() 288 this->hidden->mixbuf = (Uint8 *)SDL_AllocAudioMem(this->hidden->mixlen); in NAS_OpenAudio() 289 if ( this->hidden->mixbuf == NULL ) { in NAS_OpenAudio() 292 SDL_memset(this->hidden->mixbuf, spec->silence, spec->size); in NAS_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/paudio/ |
D | SDL_paudio.c | 195 written = write(audio_fd, mixbuf, mixlen); in Paud_PlayAudio() 218 return mixbuf; in Paud_GetAudioBuf() 223 if ( mixbuf != NULL ) { in Paud_CloseAudio() 224 SDL_FreeAudioMem(mixbuf); in Paud_CloseAudio() 225 mixbuf = NULL; in Paud_CloseAudio() 264 mixbuf = NULL; in Paud_OpenAudio() 453 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in Paud_OpenAudio() 454 if ( mixbuf == NULL ) { in Paud_OpenAudio() 457 SDL_memset(mixbuf, spec->silence, spec->size); in Paud_OpenAudio()
|
D | SDL_paudio.h | 40 Uint8 *mixbuf; member 52 #define mixbuf (this->hidden->mixbuf) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/mme/ |
D | SDL_mmeaudio.c | 123 mixbuf = NULL; in MME_OpenAudio() 178 mixbuf = (Uint8 *)mmeAllocBuffer(NUM_BUFFERS * (spec->size)); in MME_OpenAudio() 179 if ( mixbuf == NULL ) { in MME_OpenAudio() 185 shm->wHdr[i].lpData = &mixbuf[i * (spec->size)]; in MME_OpenAudio() 244 if ( mixbuf ) { in MME_CloseAudio() 245 result = mmeFreeBuffer(mixbuf); in MME_CloseAudio() 248 mixbuf = NULL; in MME_CloseAudio()
|
D | SDL_mmeaudio.h | 42 Uint8 *mixbuf; /* The raw allocated mixing buffer */ member 48 #define mixbuf (this->hidden->mixbuf) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/windib/ |
D | SDL_dibaudio.c | 235 if ( mixbuf != NULL ) { in DIB_CloseAudio() 236 SDL_free(mixbuf); in DIB_CloseAudio() 237 mixbuf = NULL; in DIB_CloseAudio() 256 mixbuf = NULL; in DIB_OpenAudio() 322 mixbuf = (Uint8 *)SDL_malloc(NUM_BUFFERS*spec->size); in DIB_OpenAudio() 323 if ( mixbuf == NULL ) { in DIB_OpenAudio() 329 wavebuf[i].lpData = (LPSTR) &mixbuf[i*spec->size]; in DIB_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/alsa/ |
D | SDL_alsa_audio.h | 44 Uint8 *mixbuf; member 51 #define mixbuf (this->hidden->mixbuf) macro
|
D | SDL_alsa_audio.c | 274 T *ptr = (T *) mixbuf; \ 322 sample_buf = (signed short *)mixbuf; in ALSA_PlayAudio() 354 return(mixbuf); in ALSA_GetAudioBuf() 359 if ( mixbuf != NULL ) { in ALSA_CloseAudio() 360 SDL_FreeAudioMem(mixbuf); in ALSA_CloseAudio() 361 mixbuf = NULL; in ALSA_CloseAudio() 523 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in ALSA_OpenAudio() 524 if ( mixbuf == NULL ) { in ALSA_OpenAudio() 528 SDL_memset(mixbuf, spec->silence, spec->size); in ALSA_OpenAudio()
|