mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
audio: channels
This commit is contained in:
parent
5657457edb
commit
75ee269db3
8 changed files with 259 additions and 73 deletions
|
|
@ -91,7 +91,7 @@ public:
|
|||
long bytes = ov_read(&vf, buffer, bufferSize, 0, 2, true, &bitstream);
|
||||
if (bytes < 0) {
|
||||
std::cerr << "ogg::load_pcm: " << vorbis_error_message(bytes) << " " << bytes << std::endl;
|
||||
return 0;
|
||||
return PCMStream::ERROR;
|
||||
}
|
||||
return bytes;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue