minimodem: auto get samplerate from audio files
This commit is contained in:
parent
0f3338a91b
commit
a172268117
|
@ -698,6 +698,8 @@ main( int argc, char*argv[] )
|
|||
if ( ! sa )
|
||||
return 1;
|
||||
|
||||
sample_rate = simpleaudio_get_rate(sa);
|
||||
|
||||
if ( rxnoise_factor != 0.0 )
|
||||
simpleaudio_set_rxnoise(sa, rxnoise_factor);
|
||||
|
||||
|
|
Loading…
Reference in New Issue