Skip to content

Commit

Permalink
ALSA: ice1724: increase SPDIF and independent stereo buffer sizes
Browse files Browse the repository at this point in the history
Increase the default and maximum PCM buffer prellocation size for ice1724's
SPDIF and independent stereo pair outputs to 256K, which is the hardware's
maximum supported size. This allows a reduction in interrupt rate and
potentially power usage when an application is not latency-critical.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Robert Hancock authored and Takashi Iwai committed Oct 8, 2009
1 parent 8dce39b commit 1d4efa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/ice1712/ice1724.c
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ static int __devinit snd_vt1724_pcm_spdif(struct snd_ice1712 *ice, int device)

snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
snd_dma_pci_data(ice->pci),
64*1024, 64*1024);
256*1024, 256*1024);

ice->pcm = pcm;

Expand Down Expand Up @@ -1408,7 +1408,7 @@ static int __devinit snd_vt1724_pcm_indep(struct snd_ice1712 *ice, int device)

snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
snd_dma_pci_data(ice->pci),
64*1024, 64*1024);
256*1024, 256*1024);

ice->pcm_ds = pcm;

Expand Down

0 comments on commit 1d4efa6

Please sign in to comment.