"Can't set number of channels: Invalid argument"

Sorry, dont know version of moc since its from a dotpup pkg somebody made and posted on Puppy Linux Forum back in May and he didnt give version. It just required me adding libsndfile if thats any help. Any other lib files it needs are already in Puppy I would guess. Anyway even though Puppy has evolved some since then the pkg installs and runs but gives the above warning when trying to play an mp3 file. Here is a shot of moc window: http://imageigloo.com/images/958mocerror.gif It does find all mp3 files in a directory and arranges them, and errors out on each as it goes through the list it produces trying to play each in turn. Hopefully just some setting I am ignoring or doing wrong.

I would like to get moc working as it has ability to make its own playlist from mp3 files it finds in a particular directory. Why all mp3 software doesnt do this, I have no idea, as its very handy for somebody like me who likes audio books in mp3 format where chapters and part of chapters are all separate mp3 files. Try manually producing a playlist that will only be used once for a book containing dozens of mp3 files.

I have gotten the windows program 1by1 (which also can do this) running via WINE, but would like native linux application if possible.

what SoundDriver do you have seted? are your Jack/ALSA/OSS configuration in .moc/config correct?

ALSA, I commented out the Jack/OSS stuff. I didnt modify the default ALSA settings in the config file as I didnt know what to change them to or if they indeed needed to be changed.

Oh, forgot to mention, using snd-intel18x0 driver.

You can check MOC version with mocp --version command. As far as I remember I'm using such a sound card at work (built-in) and there are no problems with MOC 2.4.1 using ALSA. Please say which version you are using.

--
Damian Pietras - MOC developer

moc 2.4.0 Build: May 30 2006 04:53:52
Compiled with: OSS ALSA DEBUG internet streams

I am not set up at present on my install of Puppy to compile though I can do this if necessary. I did finally find some rpm build of moc 2.4.1 for archlinux I think. Unrpm'd it since Puppy doesnt directly use rpms and installed the binary manually. After it wanting a bunch of extra libraries especially gnome libraries(??????), still wouldnt run. Just finally quit with no error. I think I will have to set my version of Puppy up to compile to get a workable version of moc 2.4.1 and that may be a while as it involves big download.

There are no difference between 2.4.0 and 2.4.1 in the ALSA sound driver, 2.4.0 also worked for me.

--
Damian Pietras - MOC developer

Well that saved me from the hassle of compiling 2.4.1, but back to square one and again the question, why the error message? What is MOC looking for that it is not finding? It would seem to be something with ALSA mixer, but ???? I havent had any problem with sound on any other media player applications.

I think we are using not exactly the same sound card, I'll check my card at Monday. There is one difference between MOC and most of the other players: with mp3 MOC uses 24 bit output instead of 16 bit, this can be the problem. Unfortunately there is no option to turn it off.

--
Damian Pietras - MOC developer

My sound card is (from lspci):
Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller

I'm using it woth SoundDriver set to alsa with no problems with mp3, vorbis and flac.

--
Damian Pietras - MOC developer

The lspci command for me just brings up bunch numbers, no names.

My motherboard is an ECS 755-A2 and sound chip is described as Realtek ALC655 • AC97 Audio Codec in manual. All I know is the above Intel driver is what the Puppy ALSA sound wizard says is correct. It works with all sound applications other than MOC.

I'm afraid I can't help you more, the last thing you can do is to try setting SoundDriver = OSS in the config file.

--
Damian Pietras - MOC developer