Home
last modified time | relevance | path

Searched refs:SNDCTL_DSP_CHANNELS (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/
Dlinuxaudiodev.c38 #ifndef SNDCTL_DSP_CHANNELS
39 #define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS macro
291 if (ioctl(self->x_fd, SNDCTL_DSP_CHANNELS, &nchannels) == -1) { in lad_setparameters()
331 if (ioctl(self->x_fd, SNDCTL_DSP_CHANNELS, nchannels) < 0) in _ssize()
Dossaudiodev.c43 # ifndef SNDCTL_DSP_CHANNELS
44 # define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS macro
330 return _do_ioctl_1(self->fd, args, "channels", SNDCTL_DSP_CHANNELS); in oss_channels()
511 if (ioctl(self->fd, SNDCTL_DSP_CHANNELS, &channels) == -1) { in oss_setparameters()
564 if (ioctl(self->fd, SNDCTL_DSP_CHANNELS, nchannels) < 0) in _ssize()
1055 _EXPORT_INT(m, SNDCTL_DSP_CHANNELS); in initossaudiodev()
/external/python/cpython3/Modules/
Dossaudiodev.c48 # ifndef SNDCTL_DSP_CHANNELS
49 # define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS macro
359 return _do_ioctl_1(self->fd, args, "channels", SNDCTL_DSP_CHANNELS); in oss_channels()
588 if (ioctl(self->fd, SNDCTL_DSP_CHANNELS, &channels) == -1) { in oss_setparameters()
641 if (ioctl(self->fd, SNDCTL_DSP_CHANNELS, nchannels) < 0) in _ssize()
1231 _EXPORT_INT(m, SNDCTL_DSP_CHANNELS); in PyInit_ossaudiodev()
/external/kernel-headers/original/uapi/linux/
Dsoundcard.h546 #define SNDCTL_DSP_CHANNELS _SIOWR('P', 6, int) macro
547 #define SOUND_PCM_WRITE_CHANNELS SNDCTL_DSP_CHANNELS