View Single Post
Old 04-18-09, 06:26 PM   #7
apaige
Registered User
 
Join Date: Apr 2008
Posts: 106
Default Re: Which Nvidia IGPs support 7.1 channel LPCM under Linux?

The nvidia graphics driver has nothing to do with audio; ALSA does. Currently, ALSA's nvhdmi driver only supports stereo PCM.

Code:
static struct hda_pcm_stream nvhdmi_pcm_digital_playback = {
    .substreams = 1,
    .channels_min = 2,
    .channels_max = 2,
    .nid = 0x4, /* NID to query formats and rates and setup streams */
    .rates = SNDRV_PCM_RATE_48000,
    .maxbps = 16,
    .formats = SNDRV_PCM_FMTBIT_S16_LE,
    .ops = {
        .open = nvhdmi_dig_playback_pcm_open,
        .close = nvhdmi_dig_playback_pcm_close,
        .prepare = nvhdmi_dig_playback_pcm_prepare
    },
};
apaige is offline   Reply With Quote