Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

usb audio output device not found

Offen
#680 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
raspberry-pi, rust
Bereich
audio-video-rtc

Rechercherichtung

Start with the Linux ALSA device enumeration path and the example mentioned in the report. Reproduce on Linux with ALSA using aplay -L and compare its listed devices with the devices returned by cpal. The issue does not identify a source file or test, so trace enumeration from the example and determine whether USB audio outputs appear; the thread has had no comment for over three years.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

host - alsa platform - linux

I cannot enumerate usb audio output devices on linux with alsa, either on an archlinux x86 laptop or a raspberry pi.
aplay -L returns e.g.:

... snip
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output

and enumeration with example and my own code only shows the last hdmi dev=4 device, e.g.:

  19. "hdmi:CARD=PCH,DEV=4"
    Error getting supported input configs: DeviceNotAvailable
    Default output stream config:
      SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }

is there something I'm missing here?

Vorherrschende Sprache
Rust
Sterne
4k
Forks
554
Ø Merge
3 T. 3 Std.
Gemergte PRs (30 T.)
4

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus RustAudio/cpal

Alle Issues in RustAudio/cpal

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.