Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/audio/alsa/
DSDL_alsa_audio.h40 int mixlen; member
46 #define mixlen (this->hidden->mixlen) macro
DSDL_alsa_audio.c606 mixlen = spec->size; in ALSA_OpenAudio()
607 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in ALSA_OpenAudio()
/external/qemu/distrib/sdl-1.2.15/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.15/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.15/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.15/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.15/src/audio/arts/
DSDL_artsaudio.h43 int mixlen; member
55 #define mixlen (this->hidden->mixlen) macro
DSDL_artsaudio.c243 written = SDL_NAME(arts_write)(stream, mixbuf, mixlen); in ARTS_PlayAudio()
350 mixlen = spec->size; in ARTS_OpenAudio()
351 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in ARTS_OpenAudio()
/external/qemu/distrib/sdl-1.2.15/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.15/src/audio/pulse/
DSDL_pulseaudio.h44 int mixlen; member
70 #define mixlen (this->hidden->mixlen) macro
DSDL_pulseaudio.c315 if (size >= mixlen) in PULSE_WaitAudio()
323 if (SDL_NAME(pa_stream_write)(stream, mixbuf, mixlen, NULL, 0LL, PA_SEEK_RELATIVE) < 0) in PULSE_PlayAudio()
467 mixlen = spec->size; in PULSE_OpenAudio()
468 mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen); in PULSE_OpenAudio()
476 paattr.tlength = mixlen * 4; /* 2x original requested bufsize */ in PULSE_OpenAudio()
479 paattr.minreq = mixlen; /* -1 can lead to pa_stream_writable_size() in PULSE_OpenAudio()
483 paattr.tlength = mixlen*2; in PULSE_OpenAudio()
484 paattr.prebuf = mixlen*2; in PULSE_OpenAudio()
485 paattr.maxlength = mixlen*2; in PULSE_OpenAudio()
486 paattr.minreq = mixlen; in PULSE_OpenAudio()
/external/qemu/distrib/sdl-1.2.15/src/audio/nas/
DSDL_nasaudio.c231 while ( this->hidden->buf_free < this->hidden->mixlen ) { in NAS_WaitAudio()
240 …while (this->hidden->mixlen > this->hidden->buf_free) { /* We think the buffer is full? Yikes! Ask… in NAS_PlayAudio()
247 this->hidden->buf_free -= this->hidden->mixlen; in NAS_PlayAudio()
250 …NAS_AuWriteElement(this->hidden->aud, this->hidden->flow, 0, this->hidden->mixlen, this->hidden->m… in NAS_PlayAudio()
252 this->hidden->written += this->hidden->mixlen; in NAS_PlayAudio()
255 fprintf(stderr, "Wrote %d bytes of audio data\n", this->hidden->mixlen); in NAS_PlayAudio()
411 this->hidden->mixlen = spec->size; in NAS_OpenAudio()
412 this->hidden->mixbuf = (Uint8 *)SDL_AllocAudioMem(this->hidden->mixlen); in NAS_OpenAudio()
DSDL_nasaudio.h53 int mixlen; member
/external/qemu/distrib/sdl-1.2.15/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.15/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.15/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