]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: Insert linear-to-float conversion when rate or channel count is incorrect
authorMaarten Baert <maarten-baert@hotmail.com>
Wed, 26 Feb 2014 13:23:45 +0000 (14:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 26 Feb 2014 13:39:18 +0000 (14:39 +0100)
commit2da7b0c2c194a457de9d9a1a9b93c47e2dad1507
tree510c10f8024bb7c0ec418bcef201d77e8790e57c
parentb669b50de2c0d0f18db924a4a5b556ffcc094421
pcm: Insert linear-to-float conversion when rate or channel count is incorrect

This fixes a bug where snd_pcm_plug_insert_plugins fails when both
client and slave use format float, but the rate or channel count does
not match. I also removed some redundant code.

Signed-off-by: Maarten Baert <maarten-baert@hotmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_plug.c