mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-17 03:07:24 -05:00
Fix Raw Audio Monitoring
Fix Raw Audio Monitoring --Still crashes Pulse Audio server on Ubuntu/Linux Mint --PULSE_LATENCY_MSEC=1000 or high value mitigates problem for brief moment, but still crashes ---Issue with Latency, or maybe writing garbage values to pa_simple_write General Code Cleanup Tweak NCURSES Printer Tweak STDERR Printouts
This commit is contained in:
@@ -253,8 +253,10 @@ processFrame (dsd_opts * opts, dsd_state * state)
|
||||
else if ((state->synctype == 21) || (state->synctype == 25))
|
||||
{
|
||||
/* dPMR Frame Sync 2 */
|
||||
fprintf(stderr, "dPMR Frame sync 2 ");
|
||||
{
|
||||
//for (short o = 0; o < 2; o++)
|
||||
//{
|
||||
fprintf(stderr, "dPMR Frame sync 2 ");
|
||||
|
||||
//state->rf_mod = GFSK_MODE;
|
||||
state->nac = 0;
|
||||
state->lastsrc = 0;
|
||||
@@ -268,14 +270,16 @@ processFrame (dsd_opts * opts, dsd_state * state)
|
||||
}
|
||||
}
|
||||
state->nac = 0;
|
||||
if ((opts->mbe_out_dir[0] != 0) && (opts->mbe_out_f == NULL))
|
||||
{
|
||||
openMbeOutFile (opts, state);
|
||||
}
|
||||
sprintf(state->fsubtype, " VOICE ");
|
||||
processdPMRvoice (opts, state);
|
||||
|
||||
if ((opts->mbe_out_dir[0] != 0) && (opts->mbe_out_f == NULL))
|
||||
{
|
||||
openMbeOutFile (opts, state);
|
||||
}
|
||||
sprintf(state->fsubtype, " VOICE ");
|
||||
processdPMRvoice (opts, state);
|
||||
//}
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
else if ((state->synctype == 22) || (state->synctype == 26))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user