Commit 062f3707 authored by Max Kellermann's avatar Max Kellermann

audio_format: allow 32 bit samples

This is the first patch in a series to enable 32 bit audio samples in MPD. 32 bit samples are more tricky than 24 bit samples, because the integer may overflow when you operate on a sample.
parent 8c0bce0b
......@@ -46,6 +46,7 @@ ver 0.15 - (200?/??/??)
* playlist: don't unpause on delete
* daemon: ignore "user" setting if already running as that user
* listen: fix broken client IP addresses in log
* 32 bit audio support
ver 0.14.2 (2009/02/13)
......
......@@ -59,7 +59,7 @@ audio_valid_sample_rate(unsigned sample_rate)
static inline bool
audio_valid_sample_format(unsigned bits)
{
return bits == 16 || bits == 24 || bits == 8;
return bits == 16 || bits == 24 || bits == 32 || bits == 8;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment