clownaudio shouldn't assume all audio data will be sent through file I/O - instead, it should support data being passed as memory buffers.
This will completely-break the file-type auto-detection, which relied on reading the file extension. It didn't work that great anyway: for example, '.ogg' specifies the Ogg container, but not what encoding format is used (Vorbis and FLAC are just two possibilities), so I'm not too upset about that. Maybe the user should specify the file format instead.
clownaudio shouldn't assume all audio data will be sent through file I/O - instead, it should support data being passed as memory buffers.
This will completely-break the file-type auto-detection, which relied on reading the file extension. It didn't work that great anyway: for example, '.ogg' specifies the Ogg container, but not what encoding format is used (Vorbis and FLAC are just two possibilities), so I'm not too upset about that. Maybe the user should specify the file format instead.