Searched refs:dsp_dev (Results 1 – 4 of 4) sorted by relevance
/dports/audio/ctronome/ctronome-0.5.6/ |
H A D | dsp.c | 14 int dsp_init(byte *dsp_dev,word bitspersample, word channels, dword samplerate){ in dsp_init() argument 45 if (debug) printf ("debug: opening dsp '%s'\n",dsp_dev); in dsp_init() 46 if ((dsp_handle = open (dsp_dev, O_WRONLY)) == -1){ in dsp_init() 47 printf ("FATAL: cannot open dsp device %s\n",dsp_dev); in dsp_init() 48 perror(dsp_dev); in dsp_init() 51 if (debug) printf ("debug: dsp device %s opened successfully\n",dsp_dev); in dsp_init() 55 printf ("FATAL: unable to get supported formats for %s\n",dsp_dev); in dsp_init() 64 printf ("FATAL: unable to set output format for %s\n",dsp_dev); in dsp_init() 84 printf ("FATAL: unable to set no. of channels for %s\n",dsp_dev); in dsp_init() 98 printf ("FATAL: unable to set DSP speed for %s\n",dsp_dev); in dsp_init()
|
/dports/net/rdesktop/rdesktop-1.9.0/ |
H A D | rdpsnd_sun.c | 56 static char *dsp_dev; variable 146 dsp_fd = open(dsp_dev, O_RDWR | O_NONBLOCK); in sun_open() 163 dsp_fd = open(dsp_dev, dsp_mode | O_NONBLOCK); in sun_open() 249 if (strstr(dsp_dev, "/utaudio/")) in sun_open_in() 536 dsp_dev = xstrdup(options); in sun_register() 540 dsp_dev = getenv("AUDIODEV"); in sun_register() 542 if (dsp_dev == NULL) in sun_register() 544 dsp_dev = DEFAULTDEVICE; in sun_register()
|
H A D | rdpsnd_oss.c | 61 static char *dsp_dev; variable 176 dsp_fd = open(dsp_dev, dsp_mode | O_NONBLOCK); in oss_open() 531 dsp_dev = xstrdup(options); in oss_register() 535 dsp_dev = getenv("AUDIODEV"); in oss_register() 537 if (dsp_dev == NULL) in oss_register() 539 dsp_dev = DEFAULTDEVICE; in oss_register()
|
/dports/audio/cmus/cmus-2.9.1/op/ |
H A D | oss.c | 174 const char *dsp_dev = "/dev/dsp"; in oss_init() local 187 if (oss_device_exists(dsp_dev)) { in oss_init() 188 oss_dsp_device = xstrdup(dsp_dev); in oss_init()
|