Hi Jeroen,

In freebeacon.c
Line: 720

           nin = freedv_nin(f);
           while (codec2_fifo_read(fifo, demod_in, nin) == 0) {
               int nout = 0;
//Alan
               ncodecb = freedv_rawdatarx(f, rxdata_out, demod_in);
// original code continues
               nout = freedv_rx(f, speech_out, demod_in);
               freedv_get_modem_stats(f, &sync, &snr_est);
               nin = freedv_nin(f);

--------- 
Can I do this without causing any problems?

I'm concerned that routines called by freedv_rx() will have
already processed the demod_in audio data.

Alan VK2ZIW

On Tue, 16 Jun 2020 17:58:14 +0200, Jeroen Vreeken wrote
> Hi Al,
> 
> Until recently you would have needed the freedv_codecrx() and
> freedv_codectx() functions.
> If you have the 'latest greatest' git version you will need to use
> freedv_rawdatarx() and freedv_rawdatatx()
> 
> 73,
> Jeroen PE1RXQ
> 
> On 06/16/2020 12:42 PM, Al Beard wrote:
> > Hi all,
> >
> > Yes, it's been eighteen months since lightning blew my shack
> > radios and computers and now I want to use the latest Codec2
> > library code in a repeater.
> >
> > Starting with the "freebeacon" code, I want to retransmit the received
> > 700C data and include the text string or strings.
> > So the first step is to receive the "packed data bits".
> >
> > Can somebody point me to a function in freedv_api.x that will allow
> > getting the "packed data bits" ?
> >
> > (In the past, I had to add a function.)
> >
> > 73    There is a valve type 73, has anybody used it in a transmitter
> >      or receiver?
> > ---------------------------------------------------
> > Alan VK2ZIW
> >
> > OpenWebMail 2.53
> >
> >
> >
> > _______________________________________________
> > Freetel-codec2 mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/freetel-codec2
> >
> 
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2

---------------------------------------------------
Alan Beard

OpenWebMail 2.53
 
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to