Home | History | Annotate | Download | only in dma

Lines Matching defs:stereo

250 static int DMA_ReopenAudio(_THIS, const char *audiodev, int format, int stereo,
288 /* Set mono or stereo audio */
290 if ( (ioctl(audio_fd, SNDCTL_DSP_STEREO, &stereo) < 0) ||
291 (value != stereo) ) {
312 int stereo;
395 /* Set mono or stereo audio (currently only two channels supported) */
396 stereo = (spec->channels > 1);
397 ioctl(audio_fd, SNDCTL_DSP_STEREO, &stereo);
398 if ( stereo ) {
408 if ( DMA_ReopenAudio(this, audiodev, format, stereo, spec) < 0 ) {