Commit b26d19e4 authored by Committed by Takashi Iwai
ALSA: compress: Make sure we trigger STOP before closing the stream.
Currently we assume that userspace will shut down the compressed stream correctly. However, if userspcae dies (e.g. cplay & ctrl-C) we dont stop the stream before freeing it. This now checks that the stream is stopped before freeing. Signed-off-by: Liam Girdwood <firstname.lastname@example.org> Signed-off-by: Takashi Iwai <email@example.com>
Showing with 12 additions and 0 deletions