We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1602

Summary: SDL2_mixer doesn't work without PulseAudio
Product: SDL_mixer Reporter: mbresson
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: x86_64   
OS: Linux   
Attachments: A short program to play an OGG music

Description mbresson 2012-09-17 13:19:27 UTC
Created attachment 949 [details]
A short program to play an OGG music

Hello,
I have compiled SDL2_mixer with ./configure --disable-pulseaudio
I know I can use SDL_mixer 1.2 without PulseAudio (I only have ALSA on my linux system).
Is PulseAudio required with SDL2_mixer?
When I try to run a simple example, I get:

"Could not setup connection to PulseAudio"

I attached the source code used to test SDL2_mixer.
Comment 1 Ryan C. Gordon 2017-05-29 15:25:26 UTC
(Closing really old bug reports here.)

You've probably moved on since 2012, but SDL_mixer doesn't talk to PulseAudio directly; it talks to SDL, which talks to Pulse, so you'd have to disable it in SDL.

--ryan.