cjcliffe / CubicSDR

Cross-Platform Software-Defined Radio Application
http://www.cubicsdr.com
GNU General Public License v2.0
2.02k stars 249 forks source link

Recording stops after changing demodulator bandwidth #854

Closed shuyuan-liu closed 3 years ago

shuyuan-liu commented 3 years ago

Recording "stops" after changing demodulator bandwidth during recording. The button still says "Stop recording" so it looks like it's still recording, but the recorded file only goes up to the point when the bandwidth was changed.

Steps to reproduce

  1. Run CubicSDR and start a device.
  2. Press "Start recording".
  3. Wait a few seconds for it to record something (A).
  4. Change the demodulator bandwidth.
  5. Wait a few seconds for it to record something (B).
  6. Press "Stop recording".

Result

Only audio during (A) is recorded. The audio file ends at the end of (A) and contains none of (B).

No error messages either graphically or in the console.

Frequency

Always.

Build information

OS: Arch Linux Compiler: gcc 10.2.0 liquid-dsp: 1.3.2, with SSE4.1 extensions soapysdr: 0.7.2

vsonnier commented 3 years ago

Hi @shuyuan-liu what you observe may or may not be normal. It is normal that the recording file for (A) is closed when you change the bandwith, but the recording actually do not stop, but automatically create another file.

In your case (B) is recorded in another file created automatically, named like the initial file with a number increment appended to its name. A new file will be created that way each time you modify the bandwith, but the recording session is not interupted.

Do you actually have multiple files created when you changed the bandwidth ? If yes, it is normal.