HomeSort by relevance Sort by last modified time
    Searched refs:audio_fd (Results 1 - 24 of 24) sorted by null

  /external/qemu/distrib/sdl-1.2.12/src/audio/bsd/
SDL_bsdaudio.h 34 int audio_fd; member in struct:SDL_PrivateAudioData
51 #define audio_fd (this->hidden->audio_fd) macro
SDL_bsdaudio.c 122 audio_fd = -1;
161 FD_SET(audio_fd, &fdset);
167 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) {
177 audio_fd = -1;
196 written = write(audio_fd, &mixbuf[p], mixlen-p);
238 if(audio_fd >= 0) {
239 close(audio_fd);
240 audio_fd = -1;
250 if(ioctl(audio_fd, AUDIO_GETINFO, &info) < 0) {
318 audio_fd = SDL_OpenAudioPath(audiodev, sizeof(audiodev), OPEN_FLAGS, 0)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/dsp/
SDL_dspaudio.h 34 int audio_fd; member in struct:SDL_PrivateAudioData
46 #define audio_fd (this->hidden->audio_fd) macro
SDL_dspaudio.c 108 audio_fd = -1;
135 if (write(audio_fd, mixbuf, mixlen)==-1)
157 if ( audio_fd >= 0 ) {
158 close(audio_fd);
159 audio_fd = -1;
181 audio_fd = SDL_OpenAudioPath(audiodev, sizeof(audiodev), OPEN_FLAGS, 0);
182 if ( audio_fd < 0 ) {
190 flags = fcntl(audio_fd, F_GETFL);
192 if ( fcntl(audio_fd, F_SETFL, flags) < 0 ) {
200 if ( ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &value) < 0 )
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/esd/
SDL_esdaudio.h 34 int audio_fd; member in struct:SDL_PrivateAudioData
50 #define audio_fd (this->hidden->audio_fd) macro
SDL_esdaudio.c 165 audio_fd = -1;
214 written = write(audio_fd, mixbuf, mixlen);
241 if ( audio_fd >= 0 ) {
242 SDL_NAME(esd_close)(audio_fd);
243 audio_fd = -1;
299 audio_fd = SDL_NAME(esd_play_stream)(format, spec->freq, NULL, get_progname());
300 if ( audio_fd < 0 ) {
  /external/qemu/distrib/sdl-1.2.12/src/audio/paudio/
SDL_paudio.h 34 int audio_fd; member in struct:SDL_PrivateAudioData
50 #define audio_fd (this->hidden->audio_fd) macro
SDL_paudio.c 105 audio_fd = -1;
144 FD_SET(audio_fd, &fdset);
146 if ( ioctl(audio_fd, AUDIO_BUFFER, &paud_bufinfo) < 0 ) {
168 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) {
178 audio_fd = -1;
195 written = write(audio_fd, mixbuf, mixlen);
227 if ( audio_fd >= 0 ) {
228 close(audio_fd);
229 audio_fd = -1;
249 audio_fd = SDL_OpenAudioPath(audiodev, sizeof(audiodev), OPEN_FLAGS, 0)
    [all...]
  /external/quake/quake/src/QW/client/
snd_linux.c 13 int audio_fd; variable
33 audio_fd = open("/dev/dsp", O_RDWR);
34 if (audio_fd < 0)
41 rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0);
46 close(audio_fd);
50 if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &caps)==-1)
54 close(audio_fd);
61 close(audio_fd);
65 if (ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &info)==-1)
69 close(audio_fd);
    [all...]
  /external/quake/quake/src/WinQuake/
snd_linux.cpp 32 int audio_fd; variable
52 audio_fd = open("/dev/dsp", O_RDWR);
53 if (audio_fd < 0)
60 rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0);
65 close(audio_fd);
69 if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &caps)==-1)
73 close(audio_fd);
80 close(audio_fd);
84 if (ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &info)==-1)
88 close(audio_fd);
    [all...]
snd_sun.cpp 33 int audio_fd; variable
65 audio_fd = open("/dev/audio", O_WRONLY|O_NDELAY);
67 if (audio_fd < 0) {
76 if (ioctl(audio_fd, AUDIO_GETINFO, &info) < 0) {
79 close(audio_fd);
86 if (fcntl(audio_fd, F_SETFL, O_NONBLOCK) < 0) {
88 close(audio_fd);
102 if (ioctl(audio_fd, AUDIO_SETINFO, &info) < 0) {
107 if (ioctl(audio_fd, AUDIO_SETINFO, &info) < 0) {
109 close(audio_fd);
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/dma/
SDL_dmaaudio.h 34 int audio_fd; member in struct:SDL_PrivateAudioData
51 #define audio_fd (this->hidden->audio_fd) macro
SDL_dmaaudio.c 118 audio_fd = -1;
167 FD_SET(audio_fd, &fdset);
173 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) {
193 audio_fd = -1;
222 if ( ioctl(audio_fd, SNDCTL_DSP_GETOPTR, &info) < 0 ) {
244 if ( audio_fd >= 0 ) {
245 close(audio_fd);
246 audio_fd = -1;
257 close(audio_fd);
258 audio_fd = open(audiodev, O_RDWR, 0)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/sun/
SDL_sunaudio.h 34 int audio_fd; member in struct:SDL_PrivateAudioData
46 #define audio_fd (this->hidden->audio_fd) macro
SDL_sunaudio.c 100 audio_fd = -1;
126 ioctl(audio_fd, AUDIO_GETINFO, &info);
142 ioctl(audio_fd, AUDIO_GETINFO, &info);
157 FD_SET(audio_fd, &fdset);
158 select(audio_fd+1, NULL, &fdset, NULL, NULL);
208 if ( write(audio_fd, ulaw_buf, fragsize) < 0 ) {
217 if ( write(audio_fd, mixbuf, this->spec.size) < 0 ) {
240 close(audio_fd);
252 audio_fd = -1;
283 audio_fd = SDL_OpenAudioPath(audiodev, sizeof(audiodev), OPEN_FLAGS, 1)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/
SDL_audiodev.c 53 int audio_fd; local
73 audio_fd = open(audiodev, flags, 0);
76 if ( (audio_fd < 0) && (SDL_strlen(audiodev) < (sizeof(audiopath)-3)) ) {
87 audio_fd = open(audiopath, flags, 0);
89 } while ( exists && (audio_fd < 0) );
96 return(audio_fd);
129 int audio_fd; local
138 audio_fd = open(audiodev, flags, 0);
143 return audio_fd;
149 int audio_fd; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/nto/
SDL_nto_audio.h 42 int audio_fd; member in struct:SDL_PrivateAudioData
60 #define audio_fd (this->hidden->audio_fd) macro
SDL_nto_audio.c 230 FD_SET(audio_fd, &wfds);
233 selectret=select(audio_fd + 1, NULL, &wfds, NULL, NULL);
239 default: if (FD_ISSET(audio_fd, &wfds))
486 if ((audio_fd = snd_pcm_file_descriptor(audio_handle, SND_PCM_CHANNEL_PLAYBACK)) < 0)
  /external/bluetooth/hcidump/parser/
parser.c 46 int pppdump_fd, int audio_fd)
57 parser.audio_fd = audio_fd;
199 fr->audio_fd = frm->audio_fd;
parser.h 49 int audio_fd; member in struct:frame
103 int audio_fd; member in struct:parser_t
110 int pppdump_fd, int audio_fd);
sdp.c 657 fr->audio_fd = frm->audio_fd;
l2cap.c 934 fr->audio_fd = frm->audio_fd;
hci.c     [all...]
  /external/bluetooth/hcidump/src/
hcidump.c 302 frm.audio_fd = parser.audio_fd;
999 int opt, pppdump_fd = -1, audio_fd = -1; local
1143 audio_fd = open_file(audio_file, AUDIO, flags);
1147 init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);
1152 init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);
1162 init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);
1172 init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);

Completed in 386 milliseconds