Stable: 2.5.2
Development: 2.6-alpha3
I installed moc on Debian 3.1 from it's packages, but it can't play sound - it shows this error
Can't set sample rate 44100, device doesn't support this value
XMMS/Noatunes works just fine. Any suggestions?
I tried both -R OSS and -R ALSA - same results...
I'm new to debian, I prefer FreeBSD where mocp works just fine....
daper
Fri, 2006-02-10 09:53
Permalink
It's an error from ALSA, not
It's an error from ALSA, not OSS, you must turn off the mocp server before switching to another sound driver (SHIFT-Q or mocp -x).
Try adding ForceSampleRate = 48000 to the config file (~/.moc/config) and restart moc.
--
Damian Pietras - MOC developer
daper
Fri, 2006-02-10 10:11
Permalink
Can you also compile and run
Can you also compile and run this for me?
http://users.daper.net/~daper/pub//alsa_rate.c
Compilation:
gcc -Wall -o alsa_rate alsa_rate.c -lasound
You must have libasound2-dev package istalled.
Please send me the result, it could help me fix that. Also, what is your sound card?
--
Damian Pietras - MOC developer
jdevelop
Fri, 2006-02-10 12:47
Permalink
./alsa_rate ALSA lib
./alsa_rate
ALSA lib confmisc.c:550:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3461:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:387:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3461:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:945:(snd_func_refer) error evaluating name
ALSA lib conf.c:3461:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3930:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2068:(snd_pcm_open_noupdate) Unknown PCM default
Can't open audio: No such device
I have built-in sound card on VIA chipset for P-IV processor.
daper
Fri, 2006-02-10 13:04
Permalink
Do you have AlsaDevice
Do you have AlsaDevice parameter set to something else than "default" in your ~/.moc/config?
--
Damian Pietras - MOC developer
jdevelop
Fri, 2006-02-10 13:06
Permalink
actually i don't have config
actually i don't have config at all
I tried to add ths line: ForceSampleRate = 48000
but it crashed with error in config
daper
Fri, 2006-02-10 13:33
Permalink
This option is available in
This option is available in 2.3.x.
--
Damian Pietras - MOC developer
jdevelop
Fri, 2006-02-10 12:49
Permalink
it seems I have old
it seems I have old version:
mocp -V
moc 2.2.1 Build: May 5 2005 15:12:19
Compiled with: MP3 OGG FLAC SNDFILE OSS ALSA DEBUG
may be i need to upgrade to newer one?
jdevelop
Fri, 2006-02-10 13:04
Permalink
I downloaded newer version
I downloaded newer version and tried to build from sources
it compiled fine, but when I invoke it, it conplains about
./mocp
FATAL_ERROR: No decoder plugins have been loaded!
same for mocp -R OSS
daper
Fri, 2006-02-10 13:31
Permalink
You can't run it witout
You can't run it witout installation.
--
Damian Pietras - MOC developer
jdevelop
Fri, 2006-02-10 14:02
Permalink
But I did make install!
But I did make install!
daper
Fri, 2006-02-10 14:41
Permalink
Probably no plugins were
Probably no plugins were compiled-in. You need libmad0-dev et.c packages. The list of supported formats is displayed when ./configure finishes.
--
Damian Pietras - MOC developer