/dports/games/libretro-fuse/fuse-libretro-8b51f87/fuse/sound/ |
H A D | osssound.c | 43 static int soundfd=-1; variable 71 close(soundfd); in sound_lowlevel_init() 75 if(fcntl(soundfd,F_SETFL,flags)==-1) in sound_lowlevel_init() 79 close(soundfd); in sound_lowlevel_init() 93 close(soundfd); in sound_lowlevel_init() 110 close(soundfd); in sound_lowlevel_init() 122 close(soundfd); in sound_lowlevel_init() 138 close(soundfd); in sound_lowlevel_init() 148 if(soundfd!=-1) in sound_lowlevel_end() 149 close(soundfd); in sound_lowlevel_end() [all …]
|
H A D | hpsound.c | 39 static int soundfd = -1; variable 58 if( ( flags = fcntl( soundfd, F_GETFL ) ) == -1 ) { in sound_lowlevel_init() 61 close( soundfd ); in sound_lowlevel_init() 67 if( fcntl( soundfd, F_SETFL, flags ) == -1 ) { in sound_lowlevel_init() 71 close( soundfd ); in sound_lowlevel_init() 95 close( soundfd ); in sound_lowlevel_init() 112 close( soundfd ); in sound_lowlevel_init() 122 close( soundfd ); in sound_lowlevel_init() 127 ioctl( soundfd, AUDIO_SET_FRAGMENT, frag ); in sound_lowlevel_init() 135 if( soundfd != -1 ) close( soundfd ); in sound_lowlevel_end() [all …]
|
H A D | sunsound.c | 50 static int soundfd = -1; variable 78 close(soundfd); in sound_lowlevel_init() 87 close(soundfd); in sound_lowlevel_init() 107 close(soundfd); in sound_lowlevel_init() 121 close(soundfd); in sound_lowlevel_init() 134 close(soundfd); in sound_lowlevel_init() 159 close(soundfd); in sound_lowlevel_init() 171 ioctl(soundfd, I_FLUSH, FLUSHW); in sound_lowlevel_end() 173 ioctl(soundfd, AUDIO_FLUSH); in sound_lowlevel_end() 175 close(soundfd); in sound_lowlevel_end() [all …]
|
/dports/emulators/fuse/fuse-1.6.0/sound/ |
H A D | osssound.c | 41 static int soundfd=-1; variable 69 close(soundfd); in sound_lowlevel_init() 73 if(fcntl(soundfd,F_SETFL,flags)==-1) in sound_lowlevel_init() 77 close(soundfd); in sound_lowlevel_init() 91 close(soundfd); in sound_lowlevel_init() 108 close(soundfd); in sound_lowlevel_init() 120 close(soundfd); in sound_lowlevel_init() 136 close(soundfd); in sound_lowlevel_init() 146 if(soundfd!=-1) in sound_lowlevel_end() 147 close(soundfd); in sound_lowlevel_end() [all …]
|
H A D | hpsound.c | 35 static int soundfd = -1; variable 54 if( ( flags = fcntl( soundfd, F_GETFL ) ) == -1 ) { in sound_lowlevel_init() 57 close( soundfd ); in sound_lowlevel_init() 63 if( fcntl( soundfd, F_SETFL, flags ) == -1 ) { in sound_lowlevel_init() 67 close( soundfd ); in sound_lowlevel_init() 91 close( soundfd ); in sound_lowlevel_init() 108 close( soundfd ); in sound_lowlevel_init() 118 close( soundfd ); in sound_lowlevel_init() 123 ioctl( soundfd, AUDIO_SET_FRAGMENT, frag ); in sound_lowlevel_init() 131 if( soundfd != -1 ) close( soundfd ); in sound_lowlevel_end() [all …]
|
H A D | sunsound.c | 46 static int soundfd = -1; variable 74 close(soundfd); in sound_lowlevel_init() 83 close(soundfd); in sound_lowlevel_init() 103 close(soundfd); in sound_lowlevel_init() 117 close(soundfd); in sound_lowlevel_init() 130 close(soundfd); in sound_lowlevel_init() 155 close(soundfd); in sound_lowlevel_init() 167 ioctl(soundfd, I_FLUSH, FLUSHW); in sound_lowlevel_end() 169 ioctl(soundfd, AUDIO_FLUSH); in sound_lowlevel_end() 171 close(soundfd); in sound_lowlevel_end() [all …]
|
/dports/audio/aylet/aylet-0.5/ |
H A D | drv-oss.c | 32 soundfd=1; in driver_init() 36 if((soundfd=open("/dev/dsp",O_WRONLY))<0) in driver_init() 46 close(soundfd); in driver_init() 54 if(ioctl(soundfd,SNDCTL_DSP_STEREO,&tmp)<0) in driver_init() 58 if(ioctl(soundfd,SNDCTL_DSP_STEREO,&tmp)<0) in driver_init() 60 close(soundfd); in driver_init() 70 close(soundfd); in driver_init() 82 close(soundfd); in driver_init() 92 if(soundfd>1) in driver_end() 93 close(soundfd); in driver_end() [all …]
|
H A D | drv-obsd.c | 26 soundfd = 1; in driver_init() 30 if ((soundfd = open ("/dev/sound", O_WRONLY, 0)) < 0) in driver_init() 41 if ((ioctl (soundfd, AUDIO_SETINFO, &ainfo)) < 0) in driver_init() 54 if (soundfd > 1) in driver_end() 55 close (soundfd); in driver_end() 83 ret=write(soundfd,data8+ofs,len); in driver_frame()
|
H A D | sound.h | 15 extern int soundfd;
|
H A D | sound.c | 37 int soundfd=-1; /* file descriptor for the sound device */ variable
|
/dports/audio/soundtracker/soundtracker-1.0.2.1/app/drivers/ |
H A D | alsa1x.c | 103 snd_pcm_t* soundfd; member 325 snd_pcm_close(d->soundfd); in pcm_open_and_load_hwparams() 354 snd_pcm_close(d->soundfd); in check_period_sizes() 359 snd_pcm_close(d->soundfd); in check_period_sizes() 376 snd_pcm_close(d->soundfd); in check_period_sizes() 529 snd_pcm_close(d->soundfd); in device_test() 534 snd_pcm_close(d->soundfd); in device_test() 614 snd_pcm_close(d->soundfd); in device_test() 1141 d->soundfd = 0; in alsa_new() 1195 if (d->soundfd != 0) { in alsa_release() [all …]
|
H A D | sun-input.c | 57 int soundfd; 166 d->soundfd = -1; 211 if (ioctl(d->soundfd, AUDIO_SETINFO, &d->info) != 0) { 230 if (d->soundfd >= 0) { 231 close(d->soundfd); 232 d->soundfd = -1; 247 if (d->soundfd < 0) { 265 if (ioctl(d->soundfd, AUDIO_SETINFO, &d->info) != 0) { 274 if (ioctl(d->soundfd, AUDIO_SETINFO, &d->info) != 0) { 333 if (ioctl(d->soundfd, AUDIO_SETINFO, &d->info) != 0) { [all …]
|
H A D | oss.c | 71 int soundfd; member 346 d->soundfd = -1; in oss_new() 415 if (d->soundfd >= 0) { in oss_release() 416 ioctl(d->soundfd, SNDCTL_DSP_RESET, 0); in oss_release() 417 close(d->soundfd); in oss_release() 418 d->soundfd = -1; in oss_release() 451 fcntl(d->soundfd, F_SETFL, 0); in oss_open() 496 ioctl(d->soundfd, SNDCTL_DSP_SPEED, &d->playrate); in oss_open() 500 ioctl(d->soundfd, SNDCTL_DSP_SETFRAGMENT, &i); in oss_open() 511 ioctl(d->soundfd, SNDCTL_DSP_GETCAPS, &i); in oss_open() [all …]
|
H A D | sun-output.c | 64 int soundfd; member 94 write(d->soundfd, d->sndbuf, size); in sun_playing() 309 d->soundfd = -1; 370 if (d->soundfd >= 0) { 371 ioctl(d->soundfd, AUDIO_FLUSH, NULL); 372 close(d->soundfd); 373 d->soundfd = -1; 392 d->soundfd = open(d->p_devaudio, O_WRONLY); 393 if (d->soundfd < 0) { 480 if (ioctl(d->soundfd, AUDIO_GETPROPS, &i) == 0) { [all …]
|
/dports/games/xkoules/koules1.4/ |
H A D | sound.c | 24 static int soundfd; variable 35 close (soundfd); in test_sound() 58 soundfd = fd[1]; in init_sound() 88 write (soundfd, &c, sizeof (c)); 107 write (soundfd, &c, sizeof (c)); 129 write (soundfd, &c, sizeof (c)); in kill_sound()
|
H A D | soundos2.c | 95 int soundfd; 138 fcntl (soundfd, F_SETFL, O_NDELAY); 144 i = read (soundfd, &k, sizeof (k)); 620 soundfd = fd[0]; in read_sound()
|
/dports/games/xgalaga/xgalaga-2.1.1.0/ |
H A D | sound.c | 31 static int soundfd; variable 60 soundfd=fd[1]; in init_sound() 81 close(soundfd); in init_sound() 94 if(write (soundfd, &c, sizeof (c)) != sizeof (c)) 111 if(write (soundfd, &c, sizeof (c)) != sizeof (c)) 131 if(write (soundfd, &c, sizeof (c)) != sizeof (c)) in kill_sound()
|
/dports/games/miscom/miscom/ |
H A D | sound.c | 11 int soundfd=-1; variable 64 if(soundfd==-1 || sound==0) in snd_playchunk() 91 write(soundfd,soundbuf,sound_bufsiz); in snd_playchunk() 142 soundfd=-1; in start_sndserv() 146 if((soundfd=open("/dev/dsp",O_WRONLY))<0) in start_sndserv() 149 soundfd=-1; in start_sndserv() 162 ioctl(soundfd,SNDCTL_DSP_SETFRAGMENT,&frag); in start_sndserv()
|
/dports/net/iaxmodem/iaxmodem-1.2.0/lib/libiax2/src/ |
H A D | miniphone.c | 181 static int send_sound(int soundfd) in send_sound() argument 192 res = ioctl(soundfd, SNDCTL_DSP_GETOSPACE ,&abi); in send_sound() 238 res = write(soundfd, frame, res * 2); in send_sound()
|
/dports/games/flightgear/flightgear-2020.3.11/3rdparty/iaxclient/lib/libiax2/src/ |
H A D | miniphone.c | 181 static int send_sound(int soundfd) in send_sound() argument 192 res = ioctl(soundfd, SNDCTL_DSP_GETOSPACE ,&abi); in send_sound() 238 res = write(soundfd, frame, res * 2); in send_sound()
|
/dports/emulators/uae/uae-0.8.29/ |
H A D | configure.in | 226 ]], [[int soundfd; ioctl (soundfd, SNDCTL_DSP_GETFMTS, 0);]])],[AC_MSG_RESULT(yes)
|
/dports/games/crossfire-client/crossfire-client-1.75.1/ |
H A D | ChangeLog | 5683 properly. Missing FD_SET call to re-add the soundfd, as well as a missing
|