Mailinglist Archive: opensuse-bugs (2150 mails)

< Previous Next >
[Bug 874342] New: dmix does not operate at the right samplerate
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 18 Apr 2014 19:58:46 +0000
  • Message-id: <bug-874342-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=874342

https://bugzilla.novell.com/show_bug.cgi?id=874342#c0


Summary: dmix does not operate at the right samplerate
Classification: openSUSE
Product: openSUSE 13.1
Version: Final
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sound
AssignedTo: tiwai@xxxxxxxx
ReportedBy: jengelh@xxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: Beta-Customer
Blocker: ---


Created an attachment (id=587032)
--> (http://bugzilla.novell.com/attachment.cgi?id=587032)
alsa-info

Running UnrealTournament 99/GOTY using the AOSS wrapper produces slowed-down
sound, as if one were to attempt sending 44 KHz data into a sound device set up
for 22 KHz.

When not using aoss/dmix but snd_pcm_oss instead, the sound comes out alright.

A quickly hacked-up version of strace shows that ut99 executes these
sound-related ioctls when using snd_pcm_oss:

ioctl(50, SNDCTL_DSP_SETFRAGMENT, in={65547} out={65547}) = 0
ioctl(50, SNDCTL_DSP_RESET, 0) = 0
ioctl(50, SNDCTL_DSP_SETFMT or SOUND_PCM_READ_BITS, in={S16_LE,} out={S16_LE,})
= 0
ioctl(50, SNDCTL_DSP_CHANNELS or SOUND_PCM_READ_CHANNELS, in={2} out={2}) = 0
ioctl(50, SNDCTL_DSP_SETFRAGMENT, in={65548} out=0xffffafa4) = -1 EINVAL
(Invalid argument)
ioctl(50, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, in=0xa5e3390 out={22050}) =
0
ioctl(50, SNDCTL_DSP_GETOSPACE, in={4100806652} out={2}) = 0

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >