aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pcm_util.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-22 06:58:08 +0200
committerMax Kellermann <max@duempel.org>2014-08-22 06:58:08 +0200
commitd8782ce5fd08a2fb7b10ba9eff40079907511402 (patch)
treede926f46d01a8f792e72bbf02ecbae820a21133c /test/test_pcm_util.hxx
parentdedc2986c69967793bddecb5af41d2021e0af87f (diff)
downloadmpd-d8782ce5fd08a2fb7b10ba9eff40079907511402.tar.gz
mpd-d8782ce5fd08a2fb7b10ba9eff40079907511402.tar.xz
mpd-d8782ce5fd08a2fb7b10ba9eff40079907511402.zip
decoder/dsf: simplify dsf_to_pcm_order()
Don't pass the buffer size to the function, as it's known at compile time. Use "restrict" on the pointer arguments, and merge the two loops, which allows the compiler to optimize this loop with a few SSE2 instructions.
Diffstat (limited to 'test/test_pcm_util.hxx')
0 files changed, 0 insertions, 0 deletions