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:
@@ -68,6 +68,9 @@ sample_format_to_string(enum sample_format format)
|
||||
|
||||
case SAMPLE_FORMAT_S32:
|
||||
return "32";
|
||||
|
||||
case SAMPLE_FORMAT_FLOAT:
|
||||
return "f";
|
||||
}
|
||||
|
||||
/* unreachable */
|
||||
|
||||
Reference in New Issue
Block a user