diff options
author | Max Kellermann <max@duempel.org> | 2008-10-23 20:01:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-23 20:01:08 +0200 |
commit | b13d656f811d318ba37002cf18ddc3d85f0e2f1d (patch) | |
tree | 0cb17c41caae994c8d47d81efd4eac128c95a8f3 /src/player_thread.c | |
parent | 6b1c54ef9646abddfbd4960c207b32426300a90c (diff) | |
download | mpd-b13d656f811d318ba37002cf18ddc3d85f0e2f1d.tar.gz mpd-b13d656f811d318ba37002cf18ddc3d85f0e2f1d.tar.xz mpd-b13d656f811d318ba37002cf18ddc3d85f0e2f1d.zip |
pcm_resample: don't hard-code sample size
Use sizeof(sample) instead of hard-coding "2". Although we're in 16
bit right now, this will make code sharing easier when we support
other sample sizes.
Diffstat (limited to 'src/player_thread.c')
0 files changed, 0 insertions, 0 deletions