diff options
author | Max Kellermann <max@duempel.org> | 2008-10-23 20:11:28 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-23 20:11:28 +0200 |
commit | ec37633f1ceb43487a79513af625e1e43da3ffc7 (patch) | |
tree | 4b86599fbf7c312c2a84c9d00efef70c0607a28a /src/database.c | |
parent | 98e4817548ab18a696defb1db6bd74eafc3b7998 (diff) | |
download | mpd-ec37633f1ceb43487a79513af625e1e43da3ffc7.tar.gz mpd-ec37633f1ceb43487a79513af625e1e43da3ffc7.tar.xz mpd-ec37633f1ceb43487a79513af625e1e43da3ffc7.zip |
pcm_utils: generic pcm_convert_size() implementation
The old pcm_convert_size() ignored most of the destination format,
e.g. it did not check its sample size, and assumed it is 16 bit.
Simplify and universalize it by using audio_format_frame_size().
Diffstat (limited to 'src/database.c')
0 files changed, 0 insertions, 0 deletions