• T
    ALSA: pcm: Add xrun_injection proc entry · 2b30d411
    Takashi Iwai 提交于
    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: NTakashi Iwai <tiwai@suse.de>
    2b30d411
pcm.h 45.0 KB