libretro / libretro/RetroArch

[ERROR] Failed to initialize audio driver. Will continue without audio

Open
#14,636 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

Hi. I build retroarch from https://github.com/libretro/RetroArch.git
Retroarch open successfully and work ok but i dont have sound
in games i tried with various cores.

I tried all the sound settings but nothing.

Steps to reproduce the bug

Build retroarch from https://github.com/libretro/RetroArch.git in Devuan Stable.

$ ./retroarch -v
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
....
[ERROR] Failed to initialize audio driver. Will continue without audio.
[ERROR] failed_to_start_audio_driver

$ ./retroarch --features
ALSA: Audio driver: yes
OSS: Audio driver: yes

Version/Commit

2103280fdd

Environment information

System: Host: enous Kernel: 5.10.0-18-amd64 x86_64 bits: 64 Desktop: awesome 4.3 Distro: Devuan GNU/Linux 4 (chimaera)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with ./retroarch -v and inspect the reported audio-driver initialization path, using --features to confirm ALSA and OSS support. Compare the available audio setup on Devuan Stable with the selected RetroArch driver; done means games produce sound without the initialization errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.