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

This commit is contained in:
lwvmobile
2023-07-07 02:17:50 -04:00
parent 92a2217e80
commit fb93289538
3 changed files with 44 additions and 37 deletions

View File

@@ -2472,7 +2472,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))