Clownacy / clownaudio

Sound engine that is suitable for video games and other multimedia applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stop using file paths for audio data input

Clownacy opened this issue · comments

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.

This has been addressed in the recent massive overhaul following v0.1's release.