Fix M17 3200bps Voice; Misc M17 Tweaks; #152

This commit is contained in:
lwvmobile
2023-07-07 02:15:08 -04:00
parent db97eb82a1
commit bc27344b04
3 changed files with 44 additions and 37 deletions

View File

@@ -2457,7 +2457,11 @@ main (int argc, char **argv)
// }
int fmt;
int speed = 48000;
int speed = 48000;
//Codec2 only running at 8k output currently, need to match for OSS
if (opts.frame_m17 == 1)
speed = 8000;
//NOTE: Both /dev/audio AND /dev/dsp randomly open multiple input streams in Linux under padsp wrapper
if((strncmp(opts.audio_in_dev, "/dev/audio", 10) == 0))