portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.02k stars 518 forks source link

When recording audio using Audio RX, the app freezes #2100

Closed filipsedivy closed 2 months ago

filipsedivy commented 2 months ago

Describe the bug.

When I want to record sounds from a handheld radio, the app freezes when I stop recording. This freezing occurs exactly when the recording is stopped, and the transmission does not continue, no one is transmitting on the other side. In this condition, when the recording is stopped, the application freezes. It is necessary to either wait when the broadcast occurs, or restart the whole device. The application is Audio RX in the NFM option.

Reproduction

  1. Turning on the Audio RX app
  2. Select NFM
  3. Record using the Rec button
  4. Stop recording with the Rec button

Expected behavior

  1. Turn on the Audio RX app
  2. I set the app to NFM, frequencies and other supporting settings
  3. The app starts receiving the signal
  4. I turn on recording
  5. The application starts recording, i.e. writing audio sound to the SD card, at the same time receiving the signal
  6. When the recording stops, it finishes writing the wav file to the SD card
  7. The application continues with the original behaviour, i.e. captures and possibly plays the signal using the speaker

Environment/versions

v2.0.0

Anything else?

No response

gullradriel commented 2 months ago

I suspect a faulty sdcard. You can also try updating to nightly, verify that your power is correctly controlled and that you're not emp'ing your device with your handheld. I just tested on my 3 devices without a problem.

eried commented 2 months ago

Yeah, it sounds as sdcard problem. Can you try different sdcards @filipsedivy and report back if the issue persist?