summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-11-05 05:34:36 -0500
committerTakashi Iwai <tiwai@suse.de>2014-11-05 05:34:36 -0500
commitc009b7ef9409f957ab8846d362463d05678a969d (patch)
treed70f30311304508038a15f476172bacc14d2d799 /Documentation
parentae366c2049b48b54e5250cb57438bbebd1dbe610 (diff)
parent2b30d411dbc6eddfb5b4f9afd5a2c57b6f4dd96c (diff)
Merge branch 'topic/pcm-locking' into for-next
here is a small series of patches for cleaning up / enhancing the PCM core stuff.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/sound/alsa/Procfile.txt17
1 files changed, 4 insertions, 13 deletions
diff --git a/Documentation/sound/alsa/Procfile.txt b/Documentation/sound/alsa/Procfile.txt
index 7fcd1ad96fcc..7f8a0d325905 100644
--- a/Documentation/sound/alsa/Procfile.txt
+++ b/Documentation/sound/alsa/Procfile.txt
@@ -101,10 +101,6 @@ card*/pcm*/xrun_debug
101 bit 0 = Enable XRUN/jiffies debug messages 101 bit 0 = Enable XRUN/jiffies debug messages
102 bit 1 = Show stack trace at XRUN / jiffies check 102 bit 1 = Show stack trace at XRUN / jiffies check
103 bit 2 = Enable additional jiffies check 103 bit 2 = Enable additional jiffies check
104 bit 3 = Log hwptr update at each period interrupt
105 bit 4 = Log hwptr update at each snd_pcm_update_hw_ptr()
106 bit 5 = Show last 10 positions on error
107 bit 6 = Do above only once
108 104
109 When the bit 0 is set, the driver will show the messages to 105 When the bit 0 is set, the driver will show the messages to
110 kernel log when an xrun is detected. The debug message is 106 kernel log when an xrun is detected. The debug message is
@@ -121,15 +117,6 @@ card*/pcm*/xrun_debug
121 buggy) hardware that doesn't give smooth pointer updates. 117 buggy) hardware that doesn't give smooth pointer updates.
122 This feature is enabled via the bit 2. 118 This feature is enabled via the bit 2.
123 119
124 Bits 3 and 4 are for logging the hwptr records. Note that
125 these will give flood of kernel messages.
126
127 When bit 5 is set, the driver logs the last 10 xrun errors and
128 the proc file shows each jiffies, position, period_size,
129 buffer_size, old_hw_ptr, and hw_ptr_base values.
130
131 When bit 6 is set, the full xrun log is shown only once.
132
133card*/pcm*/sub*/info 120card*/pcm*/sub*/info
134 The general information of this PCM sub-stream. 121 The general information of this PCM sub-stream.
135 122
@@ -146,6 +133,10 @@ card*/pcm*/sub*/sw_params
146card*/pcm*/sub*/prealloc 133card*/pcm*/sub*/prealloc
147 The buffer pre-allocation information. 134 The buffer pre-allocation information.
148 135
136card*/pcm*/sub*/xrun_injection
137 Triggers an XRUN to the running stream when any value is
138 written to this proc file. Used for fault injection.
139 This entry is write-only.
149 140
150AC97 Codec Information 141AC97 Codec Information
151---------------------- 142----------------------