File: hdlc_rec.h

package info (click to toggle)
direwolf 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,400 kB
  • ctags: 2,000
  • sloc: ansic: 27,294; cpp: 115; sh: 29; makefile: 9
file content (24 lines) | stat: -rwxr-xr-x 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


#include "audio.h"

#include "rrbb.h"		/* Possibly defines SLICENDICE. */


void hdlc_rec_init (struct audio_s *pa);

#if SLICENDICE
void hdlc_rec_bit_sam (int chan, int subchan, int raw, float demod_out);
#else
void hdlc_rec_bit (int chan, int subchan, int raw, int is_scrambled, int descram_state);
#endif


/* Provided elsewhere to process a complete frame. */

//void process_rec_frame (int chan, unsigned char *fbuf, int flen, int level);

/* Transmit needs to know when someone else is transmitting. */

int hdlc_rec_data_detect_1 (int chan, int subchan);
int hdlc_rec_data_detect_any (int chan);