Try not running xctrace to see if we're close to fixing the issues.

ms-pipeline-optim-2
Mooneer Salem 2025-08-14 08:20:27 -07:00
parent 21297cf36f
commit decff7a5b2
3 changed files with 32 additions and 27 deletions

View File

@ -74,19 +74,19 @@ jobs:
run: |
FREEDV_COMPUTER_TO_RADIO_DEVICE="VB-Cable" FREEDV_RADIO_TO_COMPUTER_DEVICE="VB-Cable" FREEDV_COMPUTER_TO_SPEAKER_DEVICE="BlackHole1 2ch" FREEDV_MICROPHONE_TO_COMPUTER_DEVICE="BlackHole2 2ch" ctest -V
- name: Zip up traces
shell: bash
working-directory: ${{github.workspace}}/build_osx
if: ${{ !cancelled() }}
run: |
zip -r InstrumentsTraces.zip instruments_trace_*
#- name: Zip up traces
# shell: bash
# working-directory: ${{github.workspace}}/build_osx
# if: ${{ !cancelled() }}
# run: |
# zip -r InstrumentsTraces.zip instruments_trace_*
- name: Stash instrumented results
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: InstrumentsTraces-${{matrix.os}}
path: ${{github.workspace}}/build_osx/InstrumentsTraces.zip
#- name: Stash instrumented results
# uses: actions/upload-artifact@v4
# if: ${{ !cancelled() }}
# with:
# name: InstrumentsTraces-${{matrix.os}}
# path: ${{github.workspace}}/build_osx/InstrumentsTraces.zip
# Only build and publish universal binary after making sure code works properly on both
# x86 and ARM. No point in doing so if there's a failure on either.

View File

@ -1516,17 +1516,22 @@ void MainFrame::OnTimer(wxTimerEvent &evt)
{
sliderVal = wxGetApp().appConfiguration.filterConfiguration.spkOutChannel.volInDB;
}
char fmt[16];
m_sliderMicSpkrLevel->SetValue(sliderVal * 10);
snprintf(fmt, 15, "%0.1f dB", (double)sliderVal);
wxString fmtString(fmt);
m_txtMicSpkrLevelNum->SetLabel(fmtString);
if (m_filterDialog != nullptr)
// Only update the main window if the configured volume was actually modified.
if ((sliderVal * 10) != m_sliderMicSpkrLevel->GetValue())
{
// Sync Filter dialog as well
m_filterDialog->syncVolumes();
}
char fmt[16];
m_sliderMicSpkrLevel->SetValue(sliderVal * 10);
snprintf(fmt, 15, "%0.1f dB", (double)sliderVal);
wxString fmtString(fmt);
m_txtMicSpkrLevelNum->SetLabel(fmtString);
if (m_filterDialog != nullptr)
{
// Sync Filter dialog as well
m_filterDialog->syncVolumes();
}
}
// SNR text box and gauge ------------------------------------------------------------

View File

@ -78,9 +78,9 @@ $FREEDV_BINARY -f $(pwd)/$FREEDV_CONF_FILE -ut tx -utmode RADEV1 $TX_ARGS >tmp.l
FDV_PID=$!
if [ "$OPERATING_SYSTEM" != "Linux" ]; then
xctrace record --template "Audio System Trace" --window 3m --output "instruments_trace_tx_${FDV_PID}.trace" --attach $FDV_PID
fi
#if [ "$OPERATING_SYSTEM" != "Linux" ]; then
# xctrace record --template "Audio System Trace" --window 3m --output "instruments_trace_tx_${FDV_PID}.trace" --attach $FDV_PID
#fi
#sleep 30
#screencapture ../screenshot.png
@ -102,9 +102,9 @@ PLAY_PID=$!
$FREEDV_BINARY -f $(pwd)/$FREEDV_CONF_FILE -ut rx -utmode RADEV1 -rxfeaturefile $(pwd)/rxfeatures.f32 >tmp.log 2>&1 &
FDV_PID=$!
if [ "$OPERATING_SYSTEM" != "Linux" ]; then
xctrace record --template "Audio System Trace" --window 3m --output "instruments_trace_rx_${FDV_PID}.trace" --attach $FDV_PID
fi
#if [ "$OPERATING_SYSTEM" != "Linux" ]; then
# xctrace record --template "Audio System Trace" --window 3m --output "instruments_trace_rx_${FDV_PID}.trace" --attach $FDV_PID
#fi
wait $FDV_PID
FREEDV_EXIT_CODE=$?
cat tmp.log