-
-
Notifications
You must be signed in to change notification settings - Fork 423
Open
Description
Trying to use the readFloat() method on a lime.media.vorbis.VorbisFile will fail and always return 0 because it is not implemented in the native code:
lime/project/src/media/codecs/vorbis/VorbisBindings.cpp
Lines 565 to 582 in 99ca58d
| value lime_vorbis_file_read_float (value vorbisFile, value pcmChannels, int samples) { | |
| //Bytes bytes; | |
| //bytes.Set (pcmChannels); | |
| // | |
| //int bitstream; | |
| // | |
| //OggVorbis_File* file = (OggVorbis_File*)(uintptr_t)val_data (vorbisFile); | |
| //long result = ov_read_float (file, (char*)bytes.Data (), samples, &bitstream); | |
| // | |
| //alloc_field (readValue, id_bitstream, alloc_int (bitstream)); | |
| //alloc_field (readValue, id_returnValue, alloc_int (result)); | |
| // | |
| //return readValue; | |
| return alloc_null (); | |
| } |
lime/project/src/media/codecs/vorbis/VorbisBindings.cpp
Lines 585 to 589 in 99ca58d
| HL_PRIM vdynamic* HL_NAME(hl_vorbis_file_read_float) (HL_CFFIPointer* vorbisFile, Bytes* pcmChannels, int samples) { | |
| return NULL; | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels