Skip to content

Commit

Permalink
Add logging based on clues from Windows event log.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw committed Nov 19, 2024
1 parent 6f8d72d commit de4f113
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ jobs:

- uses: ilammy/msvc-dev-cmd@v1

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
detached: true
#- name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# with:
# detached: true

- name: Install FreeDV on hard drive
shell: pwsh
Expand Down
2 changes: 2 additions & 0 deletions src/pipeline/RADEReceiveStep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ std::shared_ptr<short> RADEReceiveStep::execute(std::shared_ptr<short> inputSamp
short* inputPtr = inputSamples.get();
while (numInputSamples > 0 && inputPtr != nullptr)
{
fprintf(stderr, "RADEReceiveStep: %p, %p, %d\n", inputPtr, dv_, numInputSamples);

codec2_fifo_write(inputSampleFifo_, inputPtr++, 1);
numInputSamples--;

Expand Down
2 changes: 2 additions & 0 deletions src/pipeline/RADETransmitStep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ std::shared_ptr<short> RADETransmitStep::execute(std::shared_ptr<short> inputSam
short* inputPtr = inputSamples.get();
while (numInputSamples > 0 && inputPtr != nullptr)
{
fprintf(stderr, "RADETransmitStep: %p, %p, %d\n", inputPtr, dv_, numInputSamples);

codec2_fifo_write(inputSampleFifo_, inputPtr++, 1);
numInputSamples--;

Expand Down

0 comments on commit de4f113

Please sign in to comment.