Currently i copying unmanaged data[0] byte* array to managed byte[] with following code:
byte[] managed = new byte[resampledFrame.linesize[0]];
for (int i = 0; i < resampledFrame.linesize[0]; i++) {
managed[i] = resampledFrame.data[0][(uint) i];
}
It almost works, i can hear source sound but with lot of noise, what im doing wrong?
I using this example https://github.com/IOL0ol1/EmguFFmpeg/blob/dev/example/DemuxingDecoding.cs
And i can't record result that im getting because screen recorders ignores it