Re: ALSA/Wine problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sylvain Petreolle wrote:

Now with the patch :)

Hi Rick & Michael,



I found a message from you to someone on the wine-users list about alsa support in cxoffice wine. You mentioned a patch for support. Has this been incorporated in wine-20040213? I'm having a lot of trouble getting sound now that I've upgraded my kernel to 2.6.3, alsa to 1.0.3 and wine to 20040213. The alsa sound does work in wine, but there is about a 1 second delay between an action and the corresponding sound. OSS support does not work at all so my only option seems to alsa.



If you are both using alsa 1.0 & higher, you could give a try to the attached patch. I havent submitted it to wine-patches actually, but all winmm tests pass.

Both DirectX diagnostic tool and Windows Media Player work with it.

=====
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
Say NO to software patents
Dites NON aux brevets logiciels

"You believe it's the year 1984, when in fact, its closer to 2184"1984 / Matrix






Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/


Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

Sylvain,

I finally had a chance to try your patch. It applied OK without error, but when I try to build I get errors in audio.c. Everything before audio.c builds fine

I configured (wine-20040309) with
--prefix=/opt/wine
--enable-opengl
--with-arts
--with-alsa
--with-oss

I've attached the make output here ...

gcc -c -I. -I. -I../../../include -I../../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o audio.o audio.c
audio.c: In function `ALSA_TraceParameters':
audio.c:395: warning: unused variable `buffer_size'
audio.c:395: warning: unused variable `bufsize_min'
audio.c:395: warning: unused variable `bufsize_max'
audio.c:396: warning: unused variable `dir'
audio.c:396: warning: unused variable `channels'
audio.c:396: warning: unused variable `channels_min'
audio.c:396: warning: unused variable `channels_max'
audio.c:397: warning: unused variable `period_size'
audio.c:397: warning: unused variable `periods_min'
audio.c:397: warning: unused variable `periods_max'
audio.c: In function `ALSA_WaveInit':
audio.c:546: warning: unused variable `channels'
audio.c:546: warning: unused variable `channels_min'
audio.c:546: warning: unused variable `channels_max'
audio.c: In function `wodPlayer_DSPWait':
audio.c:1063: warning: unused variable `period_time'
audio.c: In function `wodOpen':
audio.c:1411: warning: unused variable `dir'
audio.c: In function `DSDB_MMAPCopy':
audio.c:2077: warning: unused variable `dir'
audio.c: In function `DSDB_CreateMMAP':
audio.c:2144: too many arguments to function `snd_pcm_hw_params_get_format'
audio.c:2145: too many arguments to function `snd_pcm_hw_params_get_buffer_size'
audio.c:2146: too many arguments to function `snd_pcm_hw_params_get_channels'
audio.c: In function `IDsDriverBufferImpl_GetPosition':
audio.c:2297: warning: unused variable `dir'
audio.c: In function `widOpen':
audio.c:2933: warning: unused variable `dir'
make[2]: *** [audio.o] Error 1
make[2]: Leaving directory `/home/share/Wine/wine-20040309/dlls/winmm/winealsa'
make[1]: *** [winmm/winealsa] Error 2
make[1]: Leaving directory `/home/share/Wine/wine-20040309/dlls'
make: *** [dlls] Error 2



Thanks, Rick Knight (rick@xxxxxxxxxxxx)


_______________________________________________ wine-users mailing list wine-users@xxxxxxxxxx http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux