@@ -151,6 +151,17 @@ struct audio_s {
151
151
152
152
struct achan_param_s {
153
153
154
+ // Currently, we have a fixed mapping from audio sources to channel.
155
+ //
156
+ // ADEVICE CHANNEL (mono) (stereo)
157
+ // 0 0 0, 1
158
+ // 1 2 2, 3
159
+ // 2 4 4, 5
160
+ //
161
+ // A future feauture might allow the user to specify a different audio source.
162
+ // This would allow multiple modems (with associated channel) to share an audio source.
163
+ // int audio_source; // Default would be [0,1,2,3,4,5]
164
+
154
165
// What else should be moved out of structure and enlarged when NETTNC is implemented. ???
155
166
char mycall [AX25_MAX_ADDR_LEN ]; /* Call associated with this radio channel. */
156
167
/* Could all be the same or different. */
@@ -415,7 +426,8 @@ struct audio_s {
415
426
416
427
#define DEFAULT_BITS_PER_SAMPLE 16
417
428
418
- #define DEFAULT_FIX_BITS RETRY_INVERT_SINGLE
429
+ #define DEFAULT_FIX_BITS RETRY_NONE // Interesting research project but even a single bit fix up
430
+ // will occasionally let corrupted packets through.
419
431
420
432
/*
421
433
* Standard for AFSK on VHF FM.
@@ -445,11 +457,11 @@ struct audio_s {
445
457
*/
446
458
447
459
#define DEFAULT_DWAIT 0
448
- #define DEFAULT_SLOTTIME 10
460
+ #define DEFAULT_SLOTTIME 10 // *10mS = 100mS
449
461
#define DEFAULT_PERSIST 63
450
- #define DEFAULT_TXDELAY 30
451
- #define DEFAULT_TXTAIL 10
452
- #define DEFAULT_FULLDUP 0
462
+ #define DEFAULT_TXDELAY 30 // *10mS = 300mS
463
+ #define DEFAULT_TXTAIL 10 // *10mS = 100mS
464
+ #define DEFAULT_FULLDUP 0 // false = half duplex
453
465
454
466
/*
455
467
* Note that we have two versions of these in audio.c and audio_win.c.
0 commit comments