You are not logged in.
Pages: 1
First ,i compile the software:
1 alsaequal-0.6.tar.tar[http://www.thedigitalmachine.net/alsaequal.html]
2 caps_0.9.7.tar.bz2
sccond i modify my /etc/asound.conf
ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
slave.pcm "plughw:0,0";
}
pcm.equal{
type plug;
slave.pcm plugequal;
}
And then, i play the music,and it is ok.
# aplay -D equal 16k_mono.wav &
# Playing WAVE '16k_mono.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
Bug i get the error information when i input the cmd.
# amixer -D equal
ALSA lib ctl_equal.c:268:(_snd_ctl_equal_open) Problem with control file .alsaequal.bin, 3.
amixer: Mixer attach equal error: Operation not permitted
Offline
Did you try the exact example from the wiki?
Offline
Did you try the exact example from the wiki?
Thanks for your replay. Can alsaequal use in ARM?
Offline
i alsa can control the eq when makr the return -1
if(equal->klass->PortDescriptors[index] !=
(LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) {
SNDERR("Problem with control file %s, %d.", controls, index);
// return -1;
}
It can play music through "aplay 48.wav" and modify the eq through "alsamixer -D equal"
when use the configuration as bellow:
pcm.!default {
type plug
slave.pcm "equalizer"
}
pcm.equalizer {
type equal
slave.pcm "plughw:0,0"
}
ctl.equal {
type equal;
}
i get the error information when add dmix。
# aplay 48.wav &
# Playing WAVE '48.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
ALSA lib pcm_params.c:2150:(snd1_pcm_hw_refine_slave) Slave PCM not usable
aplay: set_params:957: Broken configuration for this PCM: no configurations available
the /etc/asound.conf :
pcm.!default {
type plug
slave.pcm "equalizer"
}
pcm.equalizer {
type equal
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1026
slave {
pcm "hw:0,0"
}
}
ctl.equal {
type equal;
}
Offline
Pages: 1