Rename dbm0 (level) to speech (level)
In mobile communications we use speech level instead of milliwatts. The deviation (FM) is always based on speech level, not on 1 milliwatt.
This commit is contained in:
@@ -36,7 +36,7 @@ typedef struct sender {
|
||||
/* fm levels */
|
||||
double max_deviation; /* max frequency deviation */
|
||||
double max_modulation; /* max frequency modulated */
|
||||
double dBm0_deviation; /* deviation of 1000 Hz reference tone at dBm0 */
|
||||
double speech_deviation; /* deviation of 1000 Hz reference tone at speech level */
|
||||
double max_display; /* level of displaying wave form */
|
||||
|
||||
/* audio */
|
||||
@@ -92,7 +92,7 @@ extern int cant_recover;
|
||||
|
||||
int sender_create(sender_t *sender, const char *kanal, double sendefrequenz, double empfangsfrequenz, const char *audiodev, int use_sdr, int samplerate, double rx_gain, int pre_emphasis, int de_emphasis, const char *write_rx_wave, const char *write_tx_wave, const char *read_rx_wave, const char *read_tx_wave, int loopback, enum paging_signal paging_signal);
|
||||
void sender_destroy(sender_t *sender);
|
||||
void sender_set_fm(sender_t *sender, double max_deviation, double max_modulation, double dBm0_deviation, double max_display);
|
||||
void sender_set_fm(sender_t *sender, double max_deviation, double max_modulation, double speech_deviation, double max_display);
|
||||
int sender_open_audio(int latspl);
|
||||
int sender_start_audio(void);
|
||||
void process_sender_audio(sender_t *sender, int *quit, int latspl);
|
||||
|
Reference in New Issue
Block a user