Skip to content

Commit

Permalink
[ALSA] virtuoso: set PCM1796 oversampling rate
Browse files Browse the repository at this point in the history
When playing data at 96 kHz or higher, reduce the DAC oversampling rate
to 32.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed Apr 24, 2008
1 parent af9af17 commit d08267a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/pci/oxygen/virtuoso.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d08267a

Please sign in to comment.