Skip to content

Commit

Permalink
increase buffer size to cover 200ms buffer for DSD512
Browse files Browse the repository at this point in the history
  • Loading branch information
miero committed Aug 14, 2016
1 parent a849d94 commit 04fc293
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions davinci/edma-pcm.c
Expand Up @@ -33,9 +33,9 @@ static const struct snd_pcm_hardware edma_pcm_hardware = {
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME |
SNDRV_PCM_INFO_NO_PERIOD_WAKEUP |
SNDRV_PCM_INFO_INTERLEAVED,
.buffer_bytes_max = 16 * 128 * 1024,
.buffer_bytes_max = 24 * 128 * 1024,
.period_bytes_min = 32,
.period_bytes_max = 16 * 64 * 1024,
.period_bytes_max = 24 * 64 * 1024,
.periods_min = 2,
.periods_max = 19, /* Limit by edma dmaengine driver */
};
Expand All @@ -44,7 +44,7 @@ static const struct snd_dmaengine_pcm_config edma_dmaengine_pcm_config = {
.pcm_hardware = &edma_pcm_hardware,
.prepare_slave_config = snd_dmaengine_pcm_prepare_slave_config,
.compat_filter_fn = edma_filter_fn,
.prealloc_buffer_size = 16 * 128 * 1024,
.prealloc_buffer_size = 24 * 128 * 1024,
};

int edma_pcm_platform_register(struct device *dev)
Expand Down

0 comments on commit 04fc293

Please sign in to comment.