Home
last modified time | relevance | path

Searched refs:mixlen (Results 1 – 22 of 22) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/audio/nas/
DSDL_nasaudio.c109 while ( this->hidden->buf_free < this->hidden->mixlen ) { in NAS_WaitAudio()
118 …while (this->hidden->mixlen > this->hidden->buf_free) { /* We think the buffer is full? Yikes! Ask… in NAS_PlayAudio()
125 this->hidden->buf_free -= this->hidden->mixlen; in NAS_PlayAudio()
128 …AuWriteElement(this->hidden->aud, this->hidden->flow, 0, this->hidden->mixlen, this->hidden->mixbu… in NAS_PlayAudio()
130 this->hidden->written += this->hidden->mixlen; in NAS_PlayAudio()
133 fprintf(stderr, "Wrote %d bytes of audio data\n", this->hidden->mixlen); in NAS_PlayAudio()
287 this->hidden->mixlen = spec->size; in NAS_OpenAudio()
288 this->hidden->mixbuf = (Uint8 *)SDL_AllocAudioMem(this->hidden->mixlen); in NAS_OpenAudio()
DSDL_nasaudio.h53 int mixlen; member
/external/qemu/distrib/sdl-1.2.12/src/audio/alsa/
DSDL_alsa_audio.h45 int mixlen; member
52 #define mixlen (this->hidden->mixlen) macro
DSDL_alsa_audio.c522 mixlen = spec->size; in ALSA_OpenAudio()
523 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in ALSA_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/dsp/
DSDL_dspaudio.h41 int mixlen; member
49 #define mixlen (this->hidden->mixlen) macro
DSDL_dspaudio.c135 if (write(audio_fd, mixbuf, mixlen)==-1) in DSP_PlayAudio()
142 fprintf(stderr, "Wrote %d bytes of audio data\n", mixlen); in DSP_PlayAudio()
327 mixlen = spec->size; in DSP_OpenAudio()
328 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in DSP_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/paudio/
DSDL_paudio.h41 int mixlen; member
53 #define mixlen (this->hidden->mixlen) macro
DSDL_paudio.c195 written = write(audio_fd, mixbuf, mixlen); in Paud_PlayAudio()
452 mixlen = spec->size; in Paud_OpenAudio()
453 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in Paud_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/esd/
DSDL_esdaudio.h41 int mixlen; member
53 #define mixlen (this->hidden->mixlen) macro
DSDL_esdaudio.c214 written = write(audio_fd, mixbuf, mixlen); in ESD_PlayAudio()
311 mixlen = spec->size; in ESD_OpenAudio()
312 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in ESD_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/
DSDL_bsdaudio.h41 int mixlen; member
54 #define mixlen (this->hidden->mixlen) macro
DSDL_bsdaudio.c196 written = write(audio_fd, &mixbuf[p], mixlen-p); in OBSD_PlayAudio()
388 mixlen = spec->size; in OBSD_OpenAudio()
389 mixbuf = (Uint8*)SDL_AllocAudioMem(mixlen); in OBSD_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/arts/
DSDL_artsaudio.h43 int mixlen; member
55 #define mixlen (this->hidden->mixlen) macro
DSDL_artsaudio.c229 written = SDL_NAME(arts_write)(stream, mixbuf, mixlen); in ARTS_PlayAudio()
336 mixlen = spec->size; in ARTS_OpenAudio()
337 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in ARTS_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/windx5/
DSDL_dx5audio.h39 int mixlen, silence; member
49 #define mixlen (this->hidden->mixlen) macro
DSDL_dx5audio.c268 while ( (cursor/mixlen) == lastchunk ) { in DX5_WaitAudio_BusyWait()
334 IDirectSoundBuffer_Unlock(mixbuf, locked_buf, mixlen, NULL, 0); in DX5_PlayAudio()
357 cursor /= mixlen; in DX5_GetAudioBuf()
372 cursor *= mixlen; in DX5_GetAudioBuf()
375 result = IDirectSoundBuffer_Lock(mixbuf, cursor, mixlen, in DX5_GetAudioBuf()
379 result = IDirectSoundBuffer_Lock(mixbuf, cursor, mixlen, in DX5_GetAudioBuf()
396 SDL_memset(stream, silence, mixlen); in DX5_WaitDone()
608 notify_positions[i].dwOffset = i*mixlen; in CreateAudioEvent()
693 mixlen = spec->size; in DX5_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/disk/
DSDL_diskaudio.c132 this->hidden->mixlen); in DISKAUD_PlayAudio()
135 if ( (Uint32)written != this->hidden->mixlen ) { in DISKAUD_PlayAudio()
176 this->hidden->mixlen = spec->size; in DISKAUD_OpenAudio()
177 this->hidden->mixbuf = (Uint8 *) SDL_AllocAudioMem(this->hidden->mixlen); in DISKAUD_OpenAudio()
DSDL_diskaudio.h37 Uint32 mixlen; member
/external/qemu/distrib/sdl-1.2.12/src/audio/dc/
DSDL_dcaudio.c164 spu_memload(this->hidden->leftpos+offset,this->hidden->mixbuf,this->hidden->mixlen); in DCAUD_PlayAudio()
168 …s->hidden->leftpos+offset,this->hidden->rightpos+offset,this->hidden->mixbuf,this->hidden->mixlen); in DCAUD_PlayAudio()
170 …s->hidden->leftpos+offset,this->hidden->rightpos+offset,this->hidden->mixbuf,this->hidden->mixlen); in DCAUD_PlayAudio()
233 this->hidden->mixlen = spec->size; in DCAUD_OpenAudio()
234 this->hidden->mixbuf = (Uint8 *) SDL_AllocAudioMem(this->hidden->mixlen); in DCAUD_OpenAudio()
DSDL_dcaudio.h35 Uint32 mixlen; member
/external/qemu/distrib/sdl-1.2.12/src/audio/dummy/
DSDL_dummyaudio.c132 this->hidden->mixlen = spec->size; in DUMMYAUD_OpenAudio()
133 this->hidden->mixbuf = (Uint8 *) SDL_AllocAudioMem(this->hidden->mixlen); in DUMMYAUD_OpenAudio()
DSDL_dummyaudio.h35 Uint32 mixlen; member