35 #define NUMBER_SAMPLE_RATES 10 38 1, 10, 100, 1000, 2000, 4000, 8000, 16000, 32000, 64000};
41 #define NUMBER_UPDATE_RATES 4 87 fread(&pid,
sizeof(pid_t), 1, file);
110 fwrite(&pid,
sizeof(pid_t), 1, file);
int check_sample_rate(int sample_rate)
#define NUMBER_SAMPLE_RATES
Number of possible sampling rates.
void rl_log(rl_log_type type, const char *format,...)
int possible_update_rates[NUMBER_UPDATE_RATES]
Possible update rates.
int check_update_rate(int update_rate)
#define PID_FILE
Process ID file for background process.
int possible_sample_rates[NUMBER_SAMPLE_RATES]
Possible sampling rates.
#define NUMBER_UPDATE_RATES
Number of possible update rates.