Following on from another thread about Mods, I found libmikmod-3.1.9 which is a mod playing library.
It cross compiled like a charm, and the raw output to file is the correct format for a simple "dd if=music.raw of=/dev/audio bs=4608"
However, if I try to use the oss output (The empeg's audio is oss compatible, right?) it crashes with a not enough memory error...
No problems thought I, why not rejig the raw output to play via /dev/audio.
I set the buffer size to 4608, and fired it up.
The output sounded great, for about 3 seconds, then it went all scratchy (like putting the wrong buffer size in the dd command shown above).
So I grafted the code from the developer site into the raw output module, and I get the exact same result.
My C coding is not very advanced, and I know very little about programming on Linux, so I've hit a bit of a wall here...
I'm not sure if the problem is with the output code, or the processor running out of beans, or something like that.
Anyone else want to have a go?
Jazz
(List 112, S/N 00030, 4 gig blue)
_________________________
Jazz
(List 112, Mk2 42 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)