audio_format: basic support for floating point samples

Support for conversion from float to 16, 24 and 32 bit integer
samples.
This commit is contained in:
Max Kellermann
2011-10-08 10:25:06 +02:00
parent 13ad2b4dc2
commit 545685bc32
13 changed files with 141 additions and 1 deletions

View File

@@ -102,6 +102,7 @@ flac_convert(void *dest,
break;
case SAMPLE_FORMAT_S24:
case SAMPLE_FORMAT_FLOAT:
case SAMPLE_FORMAT_UNDEFINED:
/* unreachable */
assert(false);