On Mon, 20 Dec 1999 13:44:02 +0900,
  Seigo Tanimura <[EMAIL PROTECTED]> said:

Seigo> If you have a trouble playing pcm with some applications, could you
Seigo> please try the patch attached below? The patch does the following things:

Seigo> - All ioctl(2)s go to see the secondary buffer(if I have forget nothing).
Seigo> - chn_setblocksize() changes the size of the secondary buffer.
Seigo> - chn_mmap() maps the secondary buffer.
Seigo> - chn_poll() invokes DMA.
Seigo> - chn_wrintr() performs DMA emulation for pcm devices with no DMA
Seigo>   functionality(requested by nyan).

Seigo> With the patch, snes9x(w/-r 7) and RealPlayer G2 for Linux worked fine.
Seigo> The range of blksz in chn_setblocksize() may need further tuning...


The patch has been updated slightly. Now snes9x works with any pcm
quality you like. The new features are:

- SNDCTL_DSP_SETFRAGMENT handles the count correctly.
- GETI/OSPACE returns the number of fragments.
- DMA transfer keeps running upon underrun. Some DSPs seem to end up
  with an unpredictable result if the DMA gets stopped followed by
  immediate restart. This revokes the change in sys/dev/sound/pcm/channel.c
  rev 1.12.

2ndbuf-19991223.diff.gz


-- 
Seigo Tanimura <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

Reply via email to