❔ Problem with converting WAV byte[] to MP3 byte[] (and vice versa)
I have this code (using NAudio) for converting a wav byte array to an mp3 byte array:
Not sure why, but using the function the end of a wav file just gets cut off (examples attached)
How can I fix this or are there any alternative ways of conversion?
Not sure why, but using the function the end of a wav file just gets cut off (examples attached)
How can I fix this or are there any alternative ways of conversion?
sponge_test_1.wav155.33KB
sponge_test_1_mp3.mp362.5KB