Index: dlls/winmm/winealsa/audio.c =================================================================== RCS file: /home/wine/wine/dlls/winmm/winealsa/audio.c,v retrieving revision 1.20 diff -u -r1.20 audio.c --- dlls/winmm/winealsa/audio.c 22 Sep 2003 21:13:33 -0000 1.20 +++ dlls/winmm/winealsa/audio.c 7 Oct 2003 19:52:14 -0000 @@ -408,11 +408,12 @@ snd_pcm_info_t * info; snd_pcm_hw_params_t * hw_params; WINE_WAVEOUT* wwo; + char device[] = "hw"; I think it should be static char device[] = "hw";
wwo = &WOutDev[0];
/* FIXME: use better values */ - wwo->device = "hw"; + wwo->device = device; wwo->caps.wMid = 0x0002; wwo->caps.wPid = 0x0104; strcpy(wwo->caps.szPname, "SB16 Wave Out");