[Bug 19370] Secret of Monkey Island audio functioning is dependent on Wine's sample rate

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 29 06:48:50 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=19370





--- Comment #33 from Raymond <superquad.vortex2 at gmail.com>  2010-07-29 06:48:49 ---
(In reply to comment #32)
> > you have HDA Intel but did you customised the default device to use hdmi ?
> 
> Nope, the HDMI device is unrelated, I don't use it. Wine just finds it, and
> most other Wine apps play sound normally.

if you have two alsa sound cards (onboard HDA and another PCI sound card/USB
audio ), you should notice that you have two waveout devices with name
"default" and two wavein devices with name "default" but two mixer devices with
"hw:0" and "hw:1" 

WINEDEBUG=+mixer winecfg

wine use alsa "default" device instead of hw:0,0 or hw:1,0 / plughw:0,0 ,
plughw:1,0 after alsa drop the support of default:0 , default:1 (i.e. wine had
actually drop the multiple sound cards support after this change )


wine use snd_card_get_index() to find all alsa cards and use snd_ctl_open() to
use the control interface ( need patch to skip those rawmidi cards
http://bugs.winehq.org/show_bug.cgi?id=21361#c2 ) and call snd_mixer_open() to
use the simple mixer interface to find all the volume controls and switches of
the sound card and add "hw:n" to mixer devices list

> 
> Another note: I'm using PulseAudio, but when I use pasuspender I hear no sound
> at all.

if you are using Puleaudio , (winealsa.drv with alsa-pulse plugin )

pcm.default has been configured to use pcm.pulse
ctl.default has been configured to use ctl.pulse

pasuspender is not easy to temporarily suspend PulseAudio when 
1) your distribution turn of auto spawn feature of PA server , 
2) unless you disable all system event sound  after libcanberra ( system event
sound ) use pulseaudio

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list