aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/pcm.h
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2006-10-06 15:12:29 +0200
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:00:13 +0100
commitc7132aeb72ad1106dc76279de4d005f9e1c5815c (patch)
tree26fa47ea84824c136181a4be1184f43b07f7cb22 /include/sound/pcm.h
parentb66b3cfe6c2f6560f351278883a325b6ebc478f5 (diff)
downloadkernel_samsung_smdk4412-c7132aeb72ad1106dc76279de4d005f9e1c5815c.zip
kernel_samsung_smdk4412-c7132aeb72ad1106dc76279de4d005f9e1c5815c.tar.gz
kernel_samsung_smdk4412-c7132aeb72ad1106dc76279de4d005f9e1c5815c.tar.bz2
[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/pcm.h')
-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 016c418..ec006ed 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -384,6 +384,7 @@ struct snd_pcm_substream {
struct snd_info_entry *proc_sw_params_entry;
struct snd_info_entry *proc_status_entry;
struct snd_info_entry *proc_prealloc_entry;
+ struct snd_info_entry *proc_prealloc_max_entry;
#endif
/* misc flags */
unsigned int hw_opened: 1;