Home
last modified time | relevance | path

Searched refs:SNDCTL_DSP_SETFMT (Results 1 – 14 of 14) sorted by relevance

/third_party/pulseaudio/src/modules/oss/
Doss-util.c179 … if (reqformat == AFMT_QUERY || ioctl(fd, SNDCTL_DSP_SETFMT, &format) < 0 || format != reqformat) { in pa_oss_auto_format()
181 if (ioctl(fd, SNDCTL_DSP_SETFMT, &format) < 0 || format != AFMT_S16_NE) { in pa_oss_auto_format()
184 if (ioctl(fd, SNDCTL_DSP_SETFMT, &format) < 0 || format != f) { in pa_oss_auto_format()
186 if (ioctl(fd, SNDCTL_DSP_SETFMT, &format) < 0 || format != AFMT_U8) { in pa_oss_auto_format()
/third_party/ffmpeg/libavdevice/
Doss.c115 err=ioctl(audio_fd, SNDCTL_DSP_SETFMT, &tmp); in ff_oss_audio_open()
/third_party/python/Modules/
Dossaudiodev.c335 return _do_ioctl_1(self->fd, args, "setfmt", SNDCTL_DSP_SETFMT); in oss_setfmt()
575 if (ioctl(self->fd, SNDCTL_DSP_SETFMT, &fmt) == -1) { in oss_setparameters()
618 if (ioctl(self->fd, SNDCTL_DSP_SETFMT, &fmt) < 0) in _ssize()
1256 _EXPORT_INT(m, SNDCTL_DSP_SETFMT); in PyInit_ossaudiodev()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/dsp/
DSDL_dspaudio.c186 if ((ioctl(this->hidden->audio_fd, SNDCTL_DSP_SETFMT, &value) < 0) || in DSP_OpenDevice()
/third_party/gstreamer/gstplugins_good/sys/oss/
Doss_probe.c216 ioctl (probe->fd, SNDCTL_DSP_SETFMT, &format); in check_rate()
Dgstossdmabuffer.c205 if (ioctl (obuf->fd, SNDCTL_DSP_SETFMT, &tmp) == -1) { in gst_ossdmabuffer_acquire()
Dgstosshelper.c330 ret = ioctl (probe->fd, SNDCTL_DSP_SETFMT, &format); in gst_oss_helper_rate_check_rate()
Dgstosssrc.c445 SET_PARAM (oss, SNDCTL_DSP_SETFMT, fmt, "SETFMT"); in gst_oss_src_prepare()
Dgstosssink.c450 SET_PARAM (oss, SNDCTL_DSP_SETFMT, tmp, "SETFMT"); in gst_oss_sink_prepare()
/third_party/gstreamer/gstplugins_good/sys/oss4/
Doss4-soundcard.h975 #define SNDCTL_DSP_SAMPLESIZE SNDCTL_DSP_SETFMT
983 #define SNDCTL_DSP_SETFMT __SIOWR('P',5, int) /* Selects ONE fmt */ macro
Doss4-audio.c606 if (ioctl (fd, SNDCTL_DSP_SETFMT, &fmt) == -1) in gst_oss4_audio_set_format()
/third_party/libsnd/programs/
Dsndfile-play.c444 if (ioctl (fd, SNDCTL_DSP_SETFMT, &fmt) != 0) in opensoundsys_open_device()
/third_party/python/Doc/library/
Dossaudiodev.rst183 ``SNDCTL_DSP_SETFMT`` ioctl, and :meth:`sync` to ``SNDCTL_DSP_SYNC`` (this can
/third_party/pulseaudio/src/utils/
Dpadsp.c1997 case SNDCTL_DSP_SETFMT: { in dsp_ioctl()