afarhan / sbitx

168 stars 58 forks source link

Fix sound pcm writes #11

Closed sbeckman closed 2 years ago

sbeckman commented 2 years ago

Updated PCM Write routines to both the play channel (speaker) and the loopback channel (FLDIGI) to repeat snd_pcm_writei calls until all sound samples in queue have been written. This change dramatically improves the sound stream being fed to FLDIGI, and can reduce pops and clicks in the speaker audio as well. I've also reduced sound levels into FLDIGI a bit, as it looked like it was being overdriven.

73; Steve, N3SB