You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to use drmp3_init_memory, I always get the return value of the function as false.
I am using:
drmp3 dr_mp3;
bool res =drmp3_init_memory(&dr_mp3,(const unsigned char*)sound->types.mp3.data,sound->types.mp3.size,NULL);
It seems the pMP3->memory struct is zeroed out somewhere which means it seems to not read from the memory buffer at all on the read callback, which means it always fails decoding the first MPEG frame.
The text was updated successfully, but these errors were encountered:
Noticed a possible bug.
Whenever I try to use drmp3_init_memory, I always get the return value of the function as false.
I am using:
It seems the pMP3->memory struct is zeroed out somewhere which means it seems to not read from the memory buffer at all on the read callback, which means it always fails decoding the first MPEG frame.
The text was updated successfully, but these errors were encountered: