diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-11-04 08:02:40 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-11-04 08:09:16 -0500 |
commit | 2b30d411dbc6eddfb5b4f9afd5a2c57b6f4dd96c (patch) | |
tree | 02f9efaa6a39b5579eb3f708435ef743b2ab4d09 /Documentation/sound | |
parent | f5914908a5b7b2338f210e56827a1ef35585dc6d (diff) |
ALSA: pcm: Add xrun_injection proc entry
This patch adds a new proc entry for PCM substreams to inject an
XRUN. When a PCM substream is running and any value is written to its
xrun_injection proc file, the driver triggers XRUN. This is a useful
feature for debugging XRUN and error handling code paths.
Note that this entry is enabled only when CONFIG_SND_PCM_XRUN_DEBUG is
set.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/sound')
-rw-r--r-- | Documentation/sound/alsa/Procfile.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/sound/alsa/Procfile.txt b/Documentation/sound/alsa/Procfile.txt index cfc49567b9dc..7f8a0d325905 100644 --- a/Documentation/sound/alsa/Procfile.txt +++ b/Documentation/sound/alsa/Procfile.txt | |||
@@ -133,6 +133,10 @@ card*/pcm*/sub*/sw_params | |||
133 | card*/pcm*/sub*/prealloc | 133 | card*/pcm*/sub*/prealloc |
134 | The buffer pre-allocation information. | 134 | The buffer pre-allocation information. |
135 | 135 | ||
136 | card*/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. | ||
136 | 140 | ||
137 | AC97 Codec Information | 141 | AC97 Codec Information |
138 | ---------------------- | 142 | ---------------------- |