LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2014, 04:45 PM   #1
Holering
Member
 
Registered: Feb 2010
Distribution: Slackware - Gentoo - Debian
Posts: 197

Rep: Reputation: 22
Unhappy sdl_mixer native midi hangs programs with sound effects under ALSA.


Using sdl_mixer 1.2.11 (newer versions removed native midi for linux so I can't upgrade) with Sound Blaster Live 5.1 (emu10k1) and ALSA. Slackware64 14.1.

Hardware midi works via /dev/sequencer with native-gpl-midi code in SDL-1.2.11 and older versions, but if a program plays sounds simultaneously (chocolate-doom), intermittent hangs and errors occur (cannot write to /dev/sequencer. Bad file descriptor).

aplaymidi and audacious play midi fine however with no problems. I can disable sfx in chocolate-doom to avoid hangs and have midi playback, but then there's no sfx.

Apparently this is a bug that was never fixed with sdl_mixer's native-midi-gpl code. https://bugs.debian.org/cgi-bin/bugr...cgi?bug=298982. The code was removed so newer versions of SDL don't support hardware midi under Linux. I'm unable to use newer versions of SDL-mixer since they don't support hardware midi modules under Linux.

Is there any fix for this?

If someone could tell me how to setup OSSV4 with hardware wavetable midi support via Sound Blaster Live 5.1 I would be most grateful (native OSS probably works fine with sdl_mixer's native_midi_gpl code). I've only been able to setup OSSV4 without hardware midi available unfortunately.

Any help would much appreciated.

Last edited by Holering; 03-25-2014 at 04:47 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sdl_mixer has the worst midi possible! Any patches for alsa hardware midi access? Holering Programming 5 06-18-2013 04:16 PM
Anyone successfully add portmidi to doom source ports that only use sdl_mixer midi? Holering Programming 0 06-13-2013 04:44 AM
alsa midi hangs up after the first sound Ygrex Linux - Software 0 03-05-2010 03:19 PM
ALSA MIDI: Sound fonts for NVIDIA/NForce Soundstorm on-board sound vharishankar Linux - Hardware 6 09-04-2007 12:37 PM
midi programs play but have no sound jeff_powell Linux - Software 5 11-04-2006 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration