From: Takashi Iwai Subject: Re: ALSA patch Nvidia 8 channel hdmi audio Date: Mon, 08 Jun 2009 07:20:36 +0200 Message-ID: References: <410e92830906021458x3d47a1d6jebba8bbe1150e76d@mail.gmail.com> <410e92830906030234u49a1e618kdf2d1e0550f00cdc@mail.gmail.com> <410e92830906031628t64c4cbf3y104062f2147ea44d@mail.gmail.com> <410e92830906032318v4ed6987cr41c8f73a8a54a9e6@mail.gmail.com> <410e92830906041620n1e911c3fjb4eafe6112996c4f@mail.gmail.com> <15F501D1A78BD343BE8F4D8DB854566B058A63F7@hkemmail01.nvidia.com> <410e92830906071443p4bfbc173ud97b9288ce119f09@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 92A132436B for ; Mon, 8 Jun 2009 07:20:37 +0200 (CEST) In-Reply-To: <410e92830906071443p4bfbc173ud97b9288ce119f09@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Alan Alan Cc: Peer Chen , Marek Vasut , Wei Ni , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sun, 7 Jun 2009 23:43:04 +0200, Alan Alan wrote: > = > Hi Wei ! > = > I made the tests changig the values in the sound/pci/hda/patch_nvhdmi.c f= ile > manually. > To summarize the results i have perfect sound up to 192khz/32bits(S32_LE > format). But only one configuration at a time. > = > How can we set multiple formats here, or let the system pass all formats = to > the av receiver ? > = > Here are the detailed results i tested. > = > In the source code > =A0=A0=A0=A0=A0=A0=A0 .rates =3D SNDRV_PCM_RATE_A > =A0=A0=A0=A0=A0=A0=A0 .maxbps =3D B, > =A0=A0=A0=A0=A0=A0=A0 .formats =3D SNDRV_PCM_FMTBIT_SC_LE, Change like .rates =3D SNDRV_PCM_RATE_A | SNDRV_PCM_RATE_B | ..., .maxbps =3D 24, .formats =3D SNDRV_PCM_FMTBIT_A | SNDRV_PCM_FMTBIT_B | ..., > 1. A=3D192000, B=3D24, C=3D16,=A0=A0=A0=A0=A0 perfect sound, with speaker= -test -Dhdmi -c6 > -r192000 -FS16_LE, no other setting working > 2. A=3D 192000, B=3D24, C=3D32,=A0=A0=A0=A0 perfect sound, with speaker-t= est -Dhdmi -c6 > -r192000 -FS32_LE, no other setting working > 3. A=3D 96000, B=3D24, C=3D32,=A0=A0=A0=A0=A0=A0 perfect sound, with spea= ker-test -Dhdmi -c6=A0 > -r96000 -FS32_LE, no other setting working > 4. A=3D192000, B=3D24, C=3D24,=A0=A0=A0=A0=A0 strange high pitched sound = from all speakers, > with speaker-test -Dhdmi -c6 -r192000 -FS24_LE, no other settings working > 5. A=3D=A0 96000, B=3D24, C=3D24,=A0=A0=A0=A0=A0 strange high pitched sou= nd from all speakers, > with speaker-test -Dhdmi -c6 -r96000 -FS24_LE, no other settings working S24_LE is no format for HD-audio. It's 24bit packed in lower 3 bytes of 4 byte frame. For 24bit format, use S32_LE. Takashi