aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2006-10-06 09:12:29 -0400
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:00:13 -0500
commitc7132aeb72ad1106dc76279de4d005f9e1c5815c (patch)
tree26fa47ea84824c136181a4be1184f43b07f7cb22 /include/sound
parentb66b3cfe6c2f6560f351278883a325b6ebc478f5 (diff)
[ALSA] pcm core: add prealloc_max file to substream directory to show maximum DMA size
Users ask us many times about the maximum DMA size for PCM devices. This file gives them a hint in KB. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/pcm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 016c41893b06..ec006ed8cd59 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -384,6 +384,7 @@ struct snd_pcm_substream {
384 struct snd_info_entry *proc_sw_params_entry; 384 struct snd_info_entry *proc_sw_params_entry;
385 struct snd_info_entry *proc_status_entry; 385 struct snd_info_entry *proc_status_entry;
386 struct snd_info_entry *proc_prealloc_entry; 386 struct snd_info_entry *proc_prealloc_entry;
387 struct snd_info_entry *proc_prealloc_max_entry;
387#endif 388#endif
388 /* misc flags */ 389 /* misc flags */
389 unsigned int hw_opened: 1; 390 unsigned int hw_opened: 1;