OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:audiofd
(Results
1 - 3
of
3
) sorted by relevancy
/src/usr.bin/audio/play/
play.c
79
static int
audiofd
= -1;
variable
181
audiofd
= open(device, O_WRONLY);
182
if (
audiofd
< 0 && device == defdevice) {
184
audiofd
= open(device, O_WRONLY);
186
if (
audiofd
< 0)
189
if (ioctl(
audiofd
, AUDIO_GETINFO, &info) < 0)
215
if (
audiofd
!= -1) {
216
(void)ioctl(
audiofd
, AUDIO_FLUSH, NULL);
217
(void)ioctl(
audiofd
, AUDIO_SETINFO, &info);
218
close(
audiofd
);
[
all
...]
/src/usr.bin/audio/record/
record.c
60
static int
audiofd
;
variable
237
audiofd
= open(device, O_RDONLY);
238
if (
audiofd
< 0 && device == defdevice) {
240
audiofd
= open(device, O_RDONLY);
242
if (
audiofd
< 0)
249
if (ioctl(
audiofd
, AUDIO_GETINFO, &oinfo) < 0)
292
if (ioctl(
audiofd
, AUDIO_SETINFO, &info) < 0)
357
if ((nread = read(
audiofd
, buffer, bufsize)) == -1)
391
if (ioctl(
audiofd
, AUDIO_SETINFO, &info) < 0)
394
close(
audiofd
);
[
all
...]
/src/tests/dev/audio/
h_pad.c
97
int padfd,
audiofd
;
local
149
audiofd
= rump_sys_open("/dev/audio0", O_RDWR);
150
if (
audiofd
== -1)
160
n = rump_sys_ioctl(
audiofd
, AUDIO_SETINFO, &ai);
165
n = rump_sys_write(
audiofd
, inpbuf, inplen);
Completed in 17 milliseconds
Indexes created Mon Apr 13 00:22:24 UTC 2026