http://bugs.winehq.org/show_bug.cgi?id=22476
--- Comment #9 from Raymond superquad.vortex2@gmail.com 2010-05-17 03:28:41 --- (In reply to comment #4)
(In reply to comment #3)
Not familiar with git so followed the directions from here http://wiki.winehq.org/GitWine and did a:
git clone git://source.winehq.org/git/wine.git ~/wine-git
I built it (with some struggle getting all the dependencies). When I run with mmdevapi enabled I get:
AL lib: alsa.c:675: set access failed: Invalid argument
I have good sound when mmdevapi is disabled. I hope that helps.
You can try editing ~/.alsaoftrc so that it contains:
[alsa] mmap = off
why there is error but not counted as failure
export LIBASOUND_DEBUG = 1 ./wine dlls/mmdevapi/tests/mmdevapi_test.exe.so render ALSA ERROR hw_params: set (CHANNELS) value = 1 : Invalid argument ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: [8000 192000] PERIOD_TIME: (166 1024000] PERIOD_SIZE: [32 8192] PERIOD_BYTES: [128 32768] PERIODS: [2 32] BUFFER_TIME: (333 2048000] BUFFER_SIZE: [64 16384] BUFFER_BYTES: [256 65536] TICK_TIME: ALL AL lib: alsa.c:949: set channels failed: Invalid argument render.c:119: Returned periods: 20.00000 ms 3.00000 ms render.c:129: Tag: fffe render.c:130: bits: 32 render.c:131: chan: 2 render.c:132: rate: 44100 render.c:133: align: 8 render.c:134: extra: 22 render.c:139: Res: 32 render.c:140: Mask: 3 render.c:141: Alg: FLOAT AL lib: alsa.c:639: format : 0x1103 render.c:200: Returned latency: 5.00000 ms render: 44 tests executed (0 marked as todo, 0 failures), 0 skipped. AL lib: ALc.c:1812: alcCloseDevice(): destroying 1 Context(s)