The point is only spec->adc_nids[0] is used in via_build_pcms

1953 static int via_build_pcms(struct hda_codec *codec)
1954 {
1955         struct via_spec *spec = codec->spec;
1956         struct hda_pcm *info = spec->pcm_rec;
1957 
1958         codec->num_pcms = 1;
1959         codec->pcm_info = info;
1960 
1961         info->name = spec->stream_name_analog;
1962         info->stream[SNDRV_PCM_STREAM_PLAYBACK] =
1963                 *(spec->stream_analog_playback);
1964         info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid =
1965                 spec->multiout.dac_nids[0];
1966         info->stream[SNDRV_PCM_STREAM_CAPTURE] = 
*(spec->stream_analog_capture);
1967         info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adc_nids[0];

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/677734

Title:
  [VIA VT1702] Recording problem / Sound Recorder does not pick up sound

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to