Skip to content

Issue: ALSA with radae_headless #6

@lejudd

Description

@lejudd

I probably should do this as an issue log.

radae_headless with ALSA compiles all OK.
When running radae_headless, I get this error and the program terminates.

Starting in RECEIVE mode
  Radio in:  hw:CARD=Set,DEV=0
  Speakers:  hw:CARD=Seri,DEV=0
  Call:      VK3FC
Opening audio devices...
rade_open: model_file=(null) (ignored, using built-in weights)
rade_open: n_features_in=432 Nmf=960 Neoo=1152 n_eoo_bits=180
ALSA open
ALSA lib pcm.c:8868:(snd_pcm_set_params) Rate doesn't match (requested 8000Hz, get 44100Hz)
ALSA: snd_pcm_set_params failed: Invalid argument
Error: Failed to open decoder devices

In testing, it is a similar issue to this (although arecord must deal with it):

arecord -D hw:CARD=Set,DEV=0 -f S16_LE radio.wav
Warning: rate is not accurate (requested = 8000Hz, got = 44100Hz)
         please, try the plug plugin 
Recording WAVE 'radio.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono

Let me know if there is any further testing I can provide regarding this.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions