]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: another fix for the snd_pcm_area_silence() fast path
authorJaroslav Kysela <perex@perex.cz>
Mon, 5 Feb 2018 13:59:12 +0000 (14:59 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 5 Feb 2018 14:03:44 +0000 (15:03 +0100)
commitaf531606b73634b56ec0ec73fbea8297a7752172
treebaf08621fc2e66ad5b2dd8f2e7f54b7d768dde19
parent36decd209f1b8683d4529911205d6f50612df349
pcm: another fix for the snd_pcm_area_silence() fast path

The 64-bit fast path can be used only in limited conditions:

- destination must be aligned to 64-bit (CPU aligned access)
- step must be equal to width
- physical with must be different than 24 (cannot be multiplied to 64)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm.c