• Takashi Iwai's avatar
    ALSA: pcm: trace XRUN event at injection, too · 9cd641ed
    Takashi Iwai authored
    The PCM xrun injection triggers directly snd_pcm_stop() without the
    standard xrun handler, hence it's not recorded on the event buffer.
    Ditto for snd_pcm_stop_xrun() call and SNDRV_PCM_IOCTL_XRUN ioctl.
    They are inconvenient from the debugging POV.
    
    Let's make them to trigger XRUN via the standard helper more
    consistently.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    9cd641ed
pcm.c 35.1 KB