ik1xpv / ExtIO_sddc

ExtIO_sddc.dll - BreadBoard RF103 / HDSDR
Other
72 stars 26 forks source link

Add more sample rates #156

Closed howard0su closed 3 years ago

howard0su commented 3 years ago

Use srate_idx as decimate number to simplify the logic.

howard0su commented 3 years ago

When I switched to sample rate 250KHz or below, HDSDR have lots of buffer overrun. Not sure why. @hayguen can you help?

ik1xpv commented 3 years ago

When we use 256kHz the buffer length is 32K ,so we have 384 ms delay. Possibly to long for HDSDR audio buffers. Hayati words: "we should make this dependent at samplerate .. and deliver this value with StartHW()'s return. " 512 minimum length will give 2ms dealy at 256kHz

howard0su commented 3 years ago

make sense. I will fix it.

On Thu, Jan 14, 2021 at 9:40 PM Oscar Steila notifications@github.com wrote:

When we use 256kHz the buffer length is 32K ,so we have 384 ms delay. Possibly to long for HDSDR audio buffers. Hayati words: "we should make this dependent at samplerate .. and deliver this value with StartHW()'s return. " 512 minimum length will give 2ms dealy at 256kHz

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ik1xpv/ExtIO_sddc/pull/156#issuecomment-760202787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF3GRFN5N2GQLTCBT6PZXTSZ3X4FANCNFSM4WCNVMYQ .

-- -Howard

howard0su commented 3 years ago

cannot go beyond 512, so I change back NDECINDX to 7.

howard0su commented 3 years ago

included in #157