commit | b26d19e44adfd10b691bf4ffd50ed411c1be9317 | [log] [tgz] |
---|---|---|
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | Fri Sep 13 17:43:16 2013 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Sep 26 09:28:22 2013 +0200 |
tree | 94378d0e6f3860bcd3ba30aca2566f8928251ce2 | |
parent | 4028b6c4c03f213260e9290ff3a6b5439aad07ce [diff] |
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 <liam.r.girdwood@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>