English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 30 December 2006, 16:43   #61
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Quote:
Originally Posted by Duke
Try this alternative driver for the Audigy card: http://kxproject.lugosoft.com/
Appears to work with this too (stereo and 4-channel modes) but the point was to test with creative's drivers that usually always have some issues

Technical explanation (if anyone is interested..)

There are WAVEFORMATEX and WAVEFORMATEXTENSIBLE (extension of WAVEFORMATEX) structures that describe the sample format.

"Original way": set format type = WAVE_FORMAT_PCM and channels = 1 or 2 (+frequency and other misc data but they aren't important here) 3 or more channels are not allowed in theory (says the spec..) but it does work with some drivers. (NForce2 and KX appears to work) WinUAE 1.3.3 and older used this.

"New way": 1 or 2 channels = use old system. 4 channels: use WAVE_FORMAT_EXTENSIBLE which requires speaker position information. Unfortunately there are still some problems.. Many sound drivers don't support plain 4 channel audio (2, 5.1 or 7.1 are the most common "always" supported channel combinations) There is also "ALL" speakers parameter but again not all sound drivers support it either.. (ALL seems to really mean "driver can guess the speaker positions")

Currently WinUAE initializes sound in max 3 passes (if 4 channel mode enabled)

1: use WAVE_FORMAT_PCM and 4 channels. Failed? go to pass 2.
2: use WAVE_FORMAT_EXTENSIBLE with "ALL" speaker configuration. Failed? go to pass 3.
3: use WAVE_FORMAT_EXTENSIBLE with "QUAD" (front left, front right, rear left and rear right) speaker configuration.

(Only pass 3 works on my PC)

I guess there will be pass 4 in future version that creates 5.1 stream with 2 "extra" channels zeroed for best compatibility.

I really like it when every driver does things slightly differently..

Last edited by Toni Wilen; 30 December 2006 at 17:41.
Toni Wilen is offline  
Old 30 December 2006, 18:31   #62
Duke
HOL-Team
 
Duke's Avatar
 
Join Date: Apr 2002
Location: Germany
Age: 43
Posts: 520
Send a message via ICQ to Duke
Played a bit with beta #9:

4 Channel surround doesn't seem to work, I only get sound on the front channels (Creative Audigy 2 ZS with Creative drivers).

Changing from 4 Channel to Stereo or back mutes all audio, but can be restarted if the game that is running also restarts audio (tried with Turrican II sound menu, just select the same track again).

Do you need any logs?

EDIT: Switching between interpolation modes also mutes audio.
Duke is offline  
Old 30 December 2006, 19:12   #63
Paul
RIP Friends
 
Paul's Avatar
 
Join Date: Sep 2005
Location: UK
Posts: 2,157
Quote:
Originally Posted by Toni Wilen
http://www.winuae.net/files/b/winuae.zip updated again (30.12.2006)

NForce2 MB 4-channel sound works now (tried with old Audigy 1 but didn't find my original driver CD and Creative's driver updates need original driver installed, really great customer support..)
4-channel sound works now on my Audigy 4 with the newer 30.12.2006 beta 9 build
Paul is offline  
Old 30 December 2006, 19:37   #64
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Quote:
Originally Posted by Duke
Played a bit with beta #9:

4 Channel surround doesn't seem to work, I only get sound on the front channels (Creative Audigy 2 ZS with Creative drivers).

Changing from 4 Channel to Stereo or back mutes all audio, but can be restarted if the game that is running also restarts audio (tried with Turrican II sound menu, just select the same track again).

Do you need any logs?

EDIT: Switching between interpolation modes also mutes audio.
I can't duplicate any of these problems.. "SOUND:xxx" parts from logs perhaps helps..

Anyway, I will release 1.3.4 officially later today if this is the only problem left
Toni Wilen is offline  
Old 30 December 2006, 20:22   #65
Duke
HOL-Team
 
Duke's Avatar
 
Join Date: Apr 2002
Location: Germany
Age: 43
Posts: 520
Send a message via ICQ to Duke
Here are the log entries while playing around with the options and starting/restarting sound:

Code:
44-671: SOUND: 'Primary Sound Driver'/4/16 bits/48000 Hz/buffer 131072/dist 32768
44-859: SOUND: 10824 = (11520 - 696)
44-859: SOUND: bs=1024 w=81920 max=131072 tof=174762 tuf=233016
13-609 [0 021x007]: SOUND: 11056 = (11520 - 464)
13-609 [0 021x007]: SOUND: bs=1024 w=81920 max=131072 tof=174762 tuf=233016
13-625: SOUND: DirectSound driver freed
13-625: SOUND: 'Primary Sound Driver'/2/16 bits/48000 Hz/buffer 65536/dist 16384
13-656: SOUND: 5636 = (5760 - 124)
13-656: SOUND: bs=512 w=40960 max=65536 tof=87381 tuf=116508
47-046 [0 165x013]: SOUND: 5480 = (5760 - 280)
47-046 [0 165x013]: SOUND: bs=512 w=40960 max=65536 tof=87381 tuf=116508
47-062: SOUND: DirectSound driver freed
47-062: SOUND: 'Primary Sound Driver'/2/16 bits/48000 Hz/buffer 65536/dist 16384
47-093: SOUND: 5468 = (5760 - 292)
47-093: SOUND: bs=512 w=40960 max=65536 tof=87381 tuf=116508
51-046 [174 000x302]: SOUND: underflow (40960 87381)
15-484 [0 189x018]: SOUND: 5460 = (5760 - 300)
15-484 [0 189x018]: SOUND: bs=512 w=40960 max=65536 tof=87381 tuf=116508
15-500: SOUND: DirectSound driver freed
15-500: SOUND: 'Primary Sound Driver'/4/16 bits/48000 Hz/buffer 131072/dist 32768
15-531: SOUND: 11192 = (11520 - 328)
15-531: SOUND: bs=1024 w=81920 max=131072 tof=174762 tuf=233016
58-703: SOUND: 10976 = (11520 - 544)
58-703: SOUND: bs=1024 w=81920 max=131072 tof=174762 tuf=233016
58-781: SOUND: DirectSound driver freed
Duke is offline  
Old 30 December 2006, 20:42   #66
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Quote:
Originally Posted by Duke
Here are the log entries while playing around with the options and starting/restarting sound:
This log is not from latest beta (http://www.winuae.net/files/b/winuae.zip)
Toni Wilen is offline  
Old 30 December 2006, 22:07   #67
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
It is done, thanks for testing and comments.
Toni Wilen is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
WinUAE 1.4.1 public beta series Toni Wilen support.WinUAE 17 18 March 2007 15:45
WinUAE 1.4.0 public beta series Toni Wilen support.WinUAE 115 07 March 2007 11:43
WinUAE public beta #3 and #4 Toni Wilen support.WinUAE 5 21 December 2006 19:46
WinUAE public beta #2 Toni Wilen support.WinUAE 15 06 December 2006 10:39
WinUAE public beta #1 Toni Wilen support.WinUAE 24 02 December 2006 16:07

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:14.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08082 seconds with 14 queries