]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: fix return value of snd_pcm_ioplug_sw_params()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 13 Jul 2016 14:15:23 +0000 (23:15 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 13 Jul 2016 14:37:01 +0000 (16:37 +0200)
commit941bd150bef2560f3e38a3bf74d546447e3126d1
tree02ac668de8f88f32abe0bf0a518f3cd394d6bd49
parent4c124b07599b9b6538955c50e3b96bf4e3465bb9
pcm: fix return value of snd_pcm_ioplug_sw_params()

In former commits for thread-safe PCM APIs, snd_pcm_ioplug_sw_params() got
0 as its return value, against the original implementation.

This commit fixes it.

Fixes: 54931e5a5455('pcm: Add thread-safety to PCM API')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_ioplug.c