Lines Matching defs:audio
385 * @audioid: the audio id to be assigned
386 * @num_audio: number of audio channels
424 /* the pipe index should be identical with the audio index */
517 unsigned int audio;
523 audio = subs->pcm->device * 2;
524 if (snd_BUG_ON(audio >= chip->audio_outs))
528 pipe = chip->playback_pipes[audio];
531 err = vx_alloc_pipe(chip, 0, audio, 2, &pipe); /* stereo playback */
539 chip->playback_pipes[audio] = pipe;
892 unsigned int audio;
898 audio = subs->pcm->device * 2;
899 if (snd_BUG_ON(audio >= chip->audio_ins))
901 err = vx_alloc_pipe(chip, 1, audio, 2, &pipe);
905 chip->capture_pipes[audio] = pipe;
908 if (chip->audio_monitor_active[audio]) {
909 pipe_out_monitoring = chip->playback_pipes[audio];
912 err = vx_alloc_pipe(chip, 0, audio, 2, &pipe_out_monitoring);
915 chip->playback_pipes[audio] = pipe_out_monitoring;
922 vx_set_monitor_level(chip, audio, chip->audio_monitor[audio],
923 chip->audio_monitor_active[audio]);
925 vx_set_monitor_level(chip, audio+1, chip->audio_monitor[audio+1],
926 chip->audio_monitor_active[audio+1]);
1135 * vx_init_audio_io - check the available audio i/o and allocate pipe arrays
1144 snd_printk(KERN_ERR "vx: cannot get the supported audio data\n");