[Bug 364421] New: mednafen has problems using "default" ALSA device with hda-intel
https://bugzilla.novell.com/show_bug.cgi?id=364421 Summary: mednafen has problems using "default" ALSA device with hda-intel Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: cmorve69@yahoo.es QAContact: qa@suse.de Found By: --- mednafen, from Emulators OBS repository, has problems using the "default" audio device with hda-intel AD1988 (Motherboard ASUS P5B). mednafen decumentation ( http://mednafen.sourceforge.net/documentation/#using-cli ) says
ALSA NOTE: When using the alsa driver, the "default" translates to "hw", >not "default", before being sent to the ALSA API. This is necessary because >ALSA's "default" audio device has very poor buffering control capabilities. If >you really want to use ALSA's "default" device, use "sexyal-literal-default".
The problem is in src/sexyal/drivers/alsa.c:312. A call to "snd_pcm_hw_params_set_period_size()" that works with "hw" device fails with "default" device. Using a Sound Blaster Live! (emu10k1) the default device works correctly. Using "-sounddevice default" you end with
Using "ALSA" audio driver with device "default": Bits: 16 Rate: 48000 Channels: 2 Byte order: CPU Native Buffer size: 1536 sample frames(32.000000 ms)
and using "-sounddevice sexyal-literal-default" with
Using "ALSA" audio driver with device "sexyal-literal-default":ALSA Warning: Could not set period size to a nice value. :( Bits: 16 Rate: 48000 Channels: 2 Byte order: CPU Native Buffer size: 2048 sample frames(42.666667 ms)
-- 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.
https://bugzilla.novell.com/show_bug.cgi?id=364421
User cmorve69@yahoo.es added comment
https://bugzilla.novell.com/show_bug.cgi?id=364421#c1
Christian Morales Vega
https://bugzilla.novell.com/show_bug.cgi?id=364421
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=364421#c2
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=364421
User cmorve69@yahoo.es added comment
https://bugzilla.novell.com/show_bug.cgi?id=364421#c3
Christian Morales Vega
https://bugzilla.novell.com/show_bug.cgi?id=364421
User cmorve69@yahoo.es added comment
https://bugzilla.novell.com/show_bug.cgi?id=364421#c4
--- Comment #4 from Christian Morales Vega
https://bugzilla.novell.com/show_bug.cgi?id=364421
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=364421#c5
--- Comment #5 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=364421
User cmorve69@yahoo.es added comment
https://bugzilla.novell.com/show_bug.cgi?id=364421#c6
Christian Morales Vega
participants (1)
-
bugzilla_noreply@novell.com