add PCMStream:create_sound method

This commit is contained in:
MihailRis 2025-10-30 22:48:53 +03:00
parent cf561e78a8
commit be2dc1abe5
4 changed files with 42 additions and 0 deletions

View file

@ -61,3 +61,7 @@ bool MemoryPCMStream::isSeekable() const {
}
void MemoryPCMStream::seek(size_t position) {}
size_t MemoryPCMStream::available() const {
return buffer.size();
}