Lines Matching defs:audio
383 * @audioid: the audio id to be assigned
384 * @num_audio: number of audio channels
422 /* the pipe index should be identical with the audio index */
515 unsigned int audio;
521 audio = subs->pcm->device * 2;
522 if (snd_BUG_ON(audio >= chip->audio_outs))
526 pipe = chip->playback_pipes[audio];
529 err = vx_alloc_pipe(chip, 0, audio, 2, &pipe); /* stereo playback */
537 chip->playback_pipes[audio] = pipe;
883 unsigned int audio;
889 audio = subs->pcm->device * 2;
890 if (snd_BUG_ON(audio >= chip->audio_ins))
892 err = vx_alloc_pipe(chip, 1, audio, 2, &pipe);
896 chip->capture_pipes[audio] = pipe;
899 if (chip->audio_monitor_active[audio]) {
900 pipe_out_monitoring = chip->playback_pipes[audio];
903 err = vx_alloc_pipe(chip, 0, audio, 2, &pipe_out_monitoring);
906 chip->playback_pipes[audio] = pipe_out_monitoring;
913 vx_set_monitor_level(chip, audio, chip->audio_monitor[audio],
914 chip->audio_monitor_active[audio]);
916 vx_set_monitor_level(chip, audio+1, chip->audio_monitor[audio+1],
917 chip->audio_monitor_active[audio+1]);
1126 * vx_init_audio_io - check the available audio i/o and allocate pipe arrays
1135 snd_printk(KERN_ERR "vx: cannot get the supported audio data\n");