Opened 4 years ago

Last modified 4 years ago

#236 new defect

Stereo 16 bit 22050 sample rate wave stutters badly; higher rates fine.

Reported by: wmgregg Owned by:
Priority: normal Milestone: MMPM/2 Compatibility
Component: UNIAUD16 Version: 1.9.26
Severity: normal Keywords:
Cc:

Description

With the UniAud? driver, and an AOpen AWE320 PCI card with Crystal CS4614 chip, 22050 16-bit stereo local wave files have severe stutter (choppy audio). No problem for sample rates 8000-48000, except at 22050. This affects playback via Firefox HTML5 audio, MPPM.EXE, Z!, and VLC. Workaround for VLC is to fix the output to some other rate. That's not possible for other applications. So far as I can tell, Firefox flash audio playback is unaffected, but I don't know the sample rate used by remote sites.

For comparision, with the native Crystal driver, there is no problem for Firefox HTML5 audio playback at any sample rate, nor for MPPM.EXE, Z!, or VLC. However, using the Crystal driver isn't really an option because of the known incompatibility between Odin (runs Flash) and Crystal audio buffers, which causes rather severe stutter for Firefox Flash playback.

Following playback of part of a 22050 stereo 16-bit wave file in Z!, after the stuttering, and closing Z, the alsahlp$ output includes lines like these:

snd_pcm_common_ioctl1: unknown ioctl = 0x401c4162 Init=0/0 Between=0/0 Complete=856/0 U16: u32 wrap: BytesProcessed?=2000 LastPosition?=2000 Bytes=1800 Delta=1800 InProcess?=0 Done=1 U16: u32 wrap: BytesProcessed?=30800 LastPosition?=2E800 Bytes=2E000 Delta=2E000 InProcess?=0 Done=1 U16: u32 wrap: BytesProcessed?=8B000 LastPosition?=5A800 Bytes=5A000 Delta=5A000 InProcess?=1 Done=0 U16: u32 wrap: BytesProcessed?=112000 LastPosition?=87000 Bytes=86800 Delta=86800 InProcess?=1 Done=0 Init=0/0 Between=0/0 Complete=1291/0

That's all I know. Output from testlog-2.12 is, I hope, attached. I'm largly guessing as to the options about what component is involved.

-- walt

Attachments (1)

ECS72362602-20150421-uniaud-1.09.26.log (36.1 KB) - added by wmgregg 4 years ago.
Output from the testlog-2.12 program.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by wmgregg

Output from the testlog-2.12 program.

comment:1 Changed 4 years ago by abwillis

This may be related to the problems with VirtualPC audio, if so this may help: ftp://ftp.netlabs.org/incoming/uniaud32-vpc.zip

Note: See TracTickets for help on using tickets.