diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2017-05-25 09:57:22 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2017-06-10 13:08:19 +0200 |
commit | bb64c6b3ba80f8ef844bae59e270ca9e3b43d1fd (patch) | |
tree | 24986a074f932ed0842291004c1fd4b96d20cf78 /src/amps/transaction.h | |
parent | 2c1ab897232fdcbf11a9a9cc74562a1d7221a517 (diff) |
AMPS: Add DTX support
When DTX is enabled (-S dtx=2 or 3), a missing SAT tone causes the receiver
to mute audio and insert a low level of comfort noise.
Also the missing SAT tone will not cause the connection to be terminated.
Diffstat (limited to 'src/amps/transaction.h')
-rw-r--r-- | src/amps/transaction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amps/transaction.h b/src/amps/transaction.h index 5240991..79fd467 100644 --- a/src/amps/transaction.h +++ b/src/amps/transaction.h @@ -36,6 +36,7 @@ typedef struct transaction { enum amps_trans_state state; /* state of transaction */ struct timer timer; /* for varous timeouts */ int sat_detected; /* state if we detected SAT */ + int dtx; /* if set, DTX is used with this call */ } transaction_t; transaction_t *create_transaction(amps_t *amps, enum amps_trans_state trans_state, uint32_t min1, uint16_t min2, uint8_t msg_type, uint8_t ordq, uint8_t order, uint16_t chan); |