Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d08267a9 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Takashi Iwai
Browse files

[ALSA] virtuoso: set PCM1796 oversampling rate



When playing data at 96 kHz or higher, reduce the DAC oversampling rate
to 32.

Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent af9af174
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -174,14 +174,12 @@ static void xonar_cleanup(struct oxygen *chip)
static void set_pcm1796_params(struct oxygen *chip,
			       struct snd_pcm_hw_params *params)
{
#if 0
	unsigned int i;
	u8 value;

	value = params_rate(params) >= 96000 ? PCM1796_OS_32 : PCM1796_OS_64;
	for (i = 0; i < 4; ++i)
		pcm1796_write(chip, i, 20, value);
#endif
}

static void update_pcm1796_volume(struct oxygen *chip)