mirror of
https://github.com/SDRSharpR/SDRSharper.git
synced 2025-12-31 21:50:00 +01:00
14 lines
220 B
C#
14 lines
220 B
C#
namespace SDRSharp.Radio
|
|
{
|
|
public sealed class DsbDetector
|
|
{
|
|
public unsafe void Demodulate(Complex* iq, float* audio, int length)
|
|
{
|
|
for (int i = 0; i < length; i++)
|
|
{
|
|
audio[i] = iq[i].Real;
|
|
}
|
|
}
|
|
}
|
|
}
|