/external/qemu/distrib/sdl-1.2.12/src/audio/ |
D | SDL_audiodev.c | 53 int audio_fd; in SDL_OpenAudioPath() local 73 audio_fd = open(audiodev, flags, 0); in SDL_OpenAudioPath() 76 if ( (audio_fd < 0) && (SDL_strlen(audiodev) < (sizeof(audiopath)-3)) ) { in SDL_OpenAudioPath() 87 audio_fd = open(audiopath, flags, 0); in SDL_OpenAudioPath() 89 } while ( exists && (audio_fd < 0) ); in SDL_OpenAudioPath() 96 return(audio_fd); in SDL_OpenAudioPath() 129 int audio_fd; in OpenUserDefinedDevice() local 138 audio_fd = open(audiodev, flags, 0); in OpenUserDefinedDevice() 143 return audio_fd; in OpenUserDefinedDevice() 149 int audio_fd; in SDL_OpenAudioPath() local [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/ |
D | SDL_dmaaudio.c | 118 audio_fd = -1; in Audio_CreateDevice() 167 FD_SET(audio_fd, &fdset); in DMA_WaitAudio() 173 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) { in DMA_WaitAudio() 193 audio_fd = -1; in DMA_WaitAudio() 222 if ( ioctl(audio_fd, SNDCTL_DSP_GETOPTR, &info) < 0 ) { in DMA_GetAudioBuf() 244 if ( audio_fd >= 0 ) { in DMA_CloseAudio() 245 close(audio_fd); in DMA_CloseAudio() 246 audio_fd = -1; in DMA_CloseAudio() 257 close(audio_fd); in DMA_ReopenAudio() 258 audio_fd = open(audiodev, O_RDWR, 0); in DMA_ReopenAudio() [all …]
|
D | SDL_dmaaudio.h | 34 int audio_fd; member 51 #define audio_fd (this->hidden->audio_fd) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dsp/ |
D | SDL_dspaudio.c | 108 audio_fd = -1; in Audio_CreateDevice() 135 if (write(audio_fd, mixbuf, mixlen)==-1) in DSP_PlayAudio() 157 if ( audio_fd >= 0 ) { in DSP_CloseAudio() 158 close(audio_fd); in DSP_CloseAudio() 159 audio_fd = -1; in DSP_CloseAudio() 181 audio_fd = SDL_OpenAudioPath(audiodev, sizeof(audiodev), OPEN_FLAGS, 0); in DSP_OpenAudio() 182 if ( audio_fd < 0 ) { in DSP_OpenAudio() 190 flags = fcntl(audio_fd, F_GETFL); in DSP_OpenAudio() 192 if ( fcntl(audio_fd, F_SETFL, flags) < 0 ) { in DSP_OpenAudio() 200 if ( ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &value) < 0 ) { in DSP_OpenAudio() [all …]
|
D | SDL_dspaudio.h | 34 int audio_fd; member 46 #define audio_fd (this->hidden->audio_fd) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/ |
D | SDL_bsdaudio.c | 122 audio_fd = -1; in Audio_CreateDevice() 161 FD_SET(audio_fd, &fdset); in OBSD_WaitAudio() 167 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) { in OBSD_WaitAudio() 177 audio_fd = -1; in OBSD_WaitAudio() 196 written = write(audio_fd, &mixbuf[p], mixlen-p); in OBSD_PlayAudio() 238 if(audio_fd >= 0) { in OBSD_CloseAudio() 239 close(audio_fd); in OBSD_CloseAudio() 240 audio_fd = -1; in OBSD_CloseAudio() 250 if(ioctl(audio_fd, AUDIO_GETINFO, &info) < 0) { in OBSD_Status() 318 audio_fd = SDL_OpenAudioPath(audiodev, sizeof(audiodev), OPEN_FLAGS, 0); in OBSD_OpenAudio() [all …]
|
D | SDL_bsdaudio.h | 34 int audio_fd; member 51 #define audio_fd (this->hidden->audio_fd) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/paudio/ |
D | SDL_paudio.c | 105 audio_fd = -1; in Audio_CreateDevice() 144 FD_SET(audio_fd, &fdset); in Paud_WaitAudio() 146 if ( ioctl(audio_fd, AUDIO_BUFFER, &paud_bufinfo) < 0 ) { in Paud_WaitAudio() 168 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) { in Paud_WaitAudio() 178 audio_fd = -1; in Paud_WaitAudio() 195 written = write(audio_fd, mixbuf, mixlen); in Paud_PlayAudio() 227 if ( audio_fd >= 0 ) { in Paud_CloseAudio() 228 close(audio_fd); in Paud_CloseAudio() 229 audio_fd = -1; in Paud_CloseAudio() 249 audio_fd = SDL_OpenAudioPath(audiodev, sizeof(audiodev), OPEN_FLAGS, 0); in Paud_OpenAudio() [all …]
|
D | SDL_paudio.h | 34 int audio_fd; member 50 #define audio_fd (this->hidden->audio_fd) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/sun/ |
D | SDL_sunaudio.c | 100 audio_fd = -1; in Audio_CreateDevice() 126 ioctl(audio_fd, AUDIO_GETINFO, &info); in CheckUnderflow() 142 ioctl(audio_fd, AUDIO_GETINFO, &info); in DSP_WaitAudio() 157 FD_SET(audio_fd, &fdset); in DSP_WaitAudio() 158 select(audio_fd+1, NULL, &fdset, NULL, NULL); in DSP_WaitAudio() 208 if ( write(audio_fd, ulaw_buf, fragsize) < 0 ) { in DSP_PlayAudio() 217 if ( write(audio_fd, mixbuf, this->spec.size) < 0 ) { in DSP_PlayAudio() 240 close(audio_fd); in DSP_CloseAudio() 252 audio_fd = -1; in DSP_OpenAudio() 283 audio_fd = SDL_OpenAudioPath(audiodev, sizeof(audiodev), OPEN_FLAGS, 1); in DSP_OpenAudio() [all …]
|
D | SDL_sunaudio.h | 34 int audio_fd; member 46 #define audio_fd (this->hidden->audio_fd) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/esd/ |
D | SDL_esdaudio.c | 165 audio_fd = -1; in Audio_CreateDevice() 214 written = write(audio_fd, mixbuf, mixlen); in ESD_PlayAudio() 241 if ( audio_fd >= 0 ) { in ESD_CloseAudio() 242 SDL_NAME(esd_close)(audio_fd); in ESD_CloseAudio() 243 audio_fd = -1; in ESD_CloseAudio() 299 audio_fd = SDL_NAME(esd_play_stream)(format, spec->freq, NULL, get_progname()); in ESD_OpenAudio() 300 if ( audio_fd < 0 ) { in ESD_OpenAudio()
|
D | SDL_esdaudio.h | 34 int audio_fd; member 50 #define audio_fd (this->hidden->audio_fd) macro
|
/external/qemu/distrib/sdl-1.2.12/src/audio/nto/ |
D | SDL_nto_audio.h | 42 int audio_fd; member 60 #define audio_fd (this->hidden->audio_fd) macro
|
D | SDL_nto_audio.c | 230 FD_SET(audio_fd, &wfds); in NTO_WaitAudio() 233 selectret=select(audio_fd + 1, NULL, &wfds, NULL, NULL); in NTO_WaitAudio() 239 default: if (FD_ISSET(audio_fd, &wfds)) in NTO_WaitAudio() 486 if ((audio_fd = snd_pcm_file_descriptor(audio_handle, SND_PCM_CHANNEL_PLAYBACK)) < 0) in NTO_OpenAudio()
|
/external/bluetooth/hcidump/parser/ |
D | parser.c | 46 int pppdump_fd, int audio_fd) in init_parser() argument 57 parser.audio_fd = audio_fd; in init_parser() 199 fr->audio_fd = frm->audio_fd; in add_frame()
|
D | parser.h | 49 int audio_fd; member 103 int audio_fd; member 110 int pppdump_fd, int audio_fd);
|
D | sdp.c | 657 fr->audio_fd = frm->audio_fd; in frame_add()
|
D | l2cap.c | 934 fr->audio_fd = frm->audio_fd; in l2cap_dump()
|
D | hci.c | 3238 if (frm->audio_fd > fileno(stderr)) in sco_dump() 3239 len = write(frm->audio_fd, frm->ptr + HCI_SCO_HDR_SIZE, hdr->dlen); in sco_dump()
|
/external/bluetooth/hcidump/src/ |
D | hcidump.c | 302 frm.audio_fd = parser.audio_fd; in process_frames() 999 int opt, pppdump_fd = -1, audio_fd = -1; in main() local 1143 audio_fd = open_file(audio_file, AUDIO, flags); in main() 1147 init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd); in main() 1152 init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd); in main() 1162 init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd); in main() 1172 init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd); in main()
|