alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* chtnau8824: Add support for using the SOF driver
       [not found] <1610980695620155096-webhooks-bot@alsa-project.org>
@ 2021-01-18 14:38 ` GitHub pull_request - opened
  0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2021-01-18 14:38 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-ucm-conf pull request #74 was opened from perexg:

The old (and currently the default) SST driver uses TDM 4 slots 24 bit
as wire format to the codec. Where as the new SOF driver uses standard
I2S 2 channel 24 bit.

Normally this should not impact the UCM settings, but on the NAU8824
the "DAC Right Channel Source" mixer setting must be set to 1 when
using TDM 4 slots and to 0 when using I2S 2 channel mode.

Getting this wrong (in either case) results in the right channel not
outputting any sound.

This commit introduces a RightOutputChannel variable which gets
set to 0/1 depending on the driver and then uses that for the
"DAC Right Channel Source" mixer setting so that we do the right
thing depending on the driver.

This has been tested on the following devices:

Medion E2215T:    Stereo speakers, analog mic
Medion E2228T:    Stereo speakers, stereo digital mics
Cube iWork 8 Air: Mono speaker, analog mic

Request URL   : https://github.com/alsa-project/alsa-ucm-conf/pull/74
Patch URL     : https://github.com/alsa-project/alsa-ucm-conf/pull/74.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-18 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1610980695620155096-webhooks-bot@alsa-project.org>
2021-01-18 14:38 ` chtnau8824: Add support for using the SOF driver GitHub pull_request - opened

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).