mirror of https://github.com/wb2osz/direwolf.git
FIX_BITS default to 0.
This commit is contained in:
parent
790c8ab723
commit
80bbf5a553
22
src/audio.h
22
src/audio.h
|
@ -151,6 +151,17 @@ struct audio_s {
|
|||
|
||||
struct achan_param_s {
|
||||
|
||||
// Currently, we have a fixed mapping from audio sources to channel.
|
||||
//
|
||||
// ADEVICE CHANNEL (mono) (stereo)
|
||||
// 0 0 0, 1
|
||||
// 1 2 2, 3
|
||||
// 2 4 4, 5
|
||||
//
|
||||
// A future feauture might allow the user to specify a different audio source.
|
||||
// This would allow multiple modems (with associated channel) to share an audio source.
|
||||
// int audio_source; // Default would be [0,1,2,3,4,5]
|
||||
|
||||
// What else should be moved out of structure and enlarged when NETTNC is implemented. ???
|
||||
char mycall[AX25_MAX_ADDR_LEN]; /* Call associated with this radio channel. */
|
||||
/* Could all be the same or different. */
|
||||
|
@ -415,7 +426,8 @@ struct audio_s {
|
|||
|
||||
#define DEFAULT_BITS_PER_SAMPLE 16
|
||||
|
||||
#define DEFAULT_FIX_BITS RETRY_INVERT_SINGLE
|
||||
#define DEFAULT_FIX_BITS RETRY_NONE // Interesting research project but even a single bit fix up
|
||||
// will occasionally let corrupted packets through.
|
||||
|
||||
/*
|
||||
* Standard for AFSK on VHF FM.
|
||||
|
@ -445,11 +457,11 @@ struct audio_s {
|
|||
*/
|
||||
|
||||
#define DEFAULT_DWAIT 0
|
||||
#define DEFAULT_SLOTTIME 10
|
||||
#define DEFAULT_SLOTTIME 10 // *10mS = 100mS
|
||||
#define DEFAULT_PERSIST 63
|
||||
#define DEFAULT_TXDELAY 30
|
||||
#define DEFAULT_TXTAIL 10
|
||||
#define DEFAULT_FULLDUP 0
|
||||
#define DEFAULT_TXDELAY 30 // *10mS = 300mS
|
||||
#define DEFAULT_TXTAIL 10 // *10mS = 100mS
|
||||
#define DEFAULT_FULLDUP 0 // false = half duplex
|
||||
|
||||
/*
|
||||
* Note that we have two versions of these in audio.c and audio_win.c.
|
||||
|
|
Loading…
Reference in New Issue