Skip to contentSkip to conversation

DMA Sound split & Atari800

DISCUSSION Timothy A. Seufert 2 participants 2 messages Apr 3, 2000 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · jingai

I am trying to build Atari800 (the emulator) with sound support, and so far I have been successful, except that the output is very 'jittery.' It sounds as if either a) each sample is being played twice, or b) the soundcard is initialized before each sample. I was able to get it to produce sound by editing the Makefile to include -DSIGNED_SAMPLES -DPOKEYSND_BIG_ENDIAN. *Occasionally* I can somehow get it to produce smooth sound, but each sample is drawn out, almost as if it is playing it twice as long (and it doesn't sync with the video).

Do you know whether this behavior is unique on Linux for PowerPC? That is, does it also do it on x86? It may just be a problem with the emulator; emulation of the sound chips on old computers is a tricky job.

It could also be a bug in the emulator. For example, it may be assuming that the sound chip has a buffer length similar to whatever is common on x86, causing it to screw up when it's in a different world.

Tim Seufert

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to a message not in the archive
Quoted 9 lines · jingai

I am trying to build Atari800 (the emulator) with sound support, and so far I have been successful, except that the output is very 'jittery.' It sounds as if either a) each sample is being played twice, or b) the soundcard is initialized before each sample. I was able to get it to produce sound by editing the Makefile to include -DSIGNED_SAMPLES -DPOKEYSND_BIG_ENDIAN. *Occasionally* I can somehow get it to produce smooth sound, but each sample is drawn out, almost as if it is playing it twice as long (and it doesn't sync with the video).

Quoted 6 lines

If there is anyone here that is more familiar with the current state of sound support in the 2.3.x PPC kernels (with all of the dmasound split patches applied), and would like to help me figure out why this is occuring, I would really appreciate it. I just don't really know enough about the current state of sound support in the PPC kernels to know exactly what is wrong -- although I will continue to probe around.

Did it work before you applied the dmasound split patches?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/