mirror of
https://github.com/SDRSharpR/SDRSharper.git
synced 2026-04-21 06:13:41 +00: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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|