SDL_mixer - Sequencer

Hi,
I’ve made a simple programm for test my SDL_mixer.

open /dev/sequencer: No such device

In my /dev , I’ve sequencer and my user is in audio’s group.

Anybody know why I receive this error?

tnx

NighTiger wrote:

Hi,
I’ve made a simple programm for test my SDL_mixer.

open /dev/sequencer: No such device

In my /dev , I’ve sequencer and my user is in audio’s group.

Anybody know why I receive this error?

Possibly because there is no such device. Whether there is a
sequencer device available depends on whether there is a driver
for it in the kernel, in part. On my system, I have Alsa
drivers (1.0.5a) but no OSS drivers. The /dev/sequencer
device is an OSS thing, and it exists when the appropriate
Alsa OSS emulation driver is loaded. That driver is
snd-seq-oss. I load that driver with the statement
"modprobe snd-seq-oss".

Before I execute the above statement, /dev/sequencer does
not exist; afterward, it does exist.

If you use the Alsa drivers, rather than the OSS drivers,
it may work this way on your system. So try
"modprobe snd-seq-oss". Maybe it will work.

You can check which kernel drivers are loaded with “lsmod”.
If you have Alsa, you can check the availbility of
/dev/sequencer with “cat /proc/asound/oss/sndstat”. If
there is no driver available for /dev/sequencer, under
"Synth devices:" you will see “Device not enabled in
config” (or something similar). If there is a driver,
you will see the device driver listed here. (If you
use OSS drivers, use “cat /dev/sndstat” instead, for
this information.)

Sorry it’s so complicated. If you use the OSS drivers,
someone else can perhaps tell you what to do to enable
/dev/sequencer.

Greg