Skip to content

Running roc-recv on a embedded device using ALSA #456

Description

@folibis

I have a Linux embedded device and a speaker connected to it. I can play a wav file using aplay file.wav and I can list devices using:

aplay -L
default:CARD=am3517evm
    am3517evm, 
    Default Audio Device

Bun while running roc-recv as following I get errors:
roc-recv -vv --output=CARD=am3517evm --driver=alsa
00:01:04.531 [err] roc_sndio: no backend fround: driver=alsa inout=CARD=am3517evm
00:01:04.531 [err] roc_recv: can't open output file or device: driver=alsa output=CARD=am3517evm

I've tried:

--output=CARD=am3517evm,DEV=0
--output=CARD=0,DEV=0
--output=front:CARD=am3517evm,DEV=0
--output=front:CARD=0,DEV=0
--output=default

but nothing works, the error persists

what do I wrong?

Activity

  1. fallingcats commented on Nov 21, 2021

    @fallingcats

    This may not be relevant anymore but directly using --driver alsa --output default:CARD=am3517evm should work

  2. gavv commented on Dec 25, 2022

    @gavv
    Member

    On fresh master it should be:

    -o alsa://default:CARD=am3517evm
    

    Please let me know if the issue is still relevant.

  3. locked and limited conversation to collaborators on Mar 7, 2023
  4. converted this issue into a discussion #523 on Mar 7, 2023
  5. moved this to Done in Roc Toolkiton Jul 6, 2024
  6. added theissue type on Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions