Project

General

Profile

Actions

Emulator Issues #9156

closed

wiimote sound lag since Dolphin 4.0-8327

Added by rancourttommylee over 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
High
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

all

Game ID? (right click the game in the game list, properties, info tab)

all

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

all

What's the problem? Describe what went wrong.

when playing a wii game the wiimote sound crackling or bug

What steps will reproduce the problem?

1- play a game
2- the wiimote sound crackling and lag
3-or press home options and vol+ and vol- (the sound crackling and lag)

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?
dolphin 4.0-8327= Do not work 4.0-8325= Work Good

What are your PC specifications? (CPU, GPU, Operating System, more)

Windows 7 x64
MATRIX-GTX980-P-4GD5
i7-4790 CPU @ 3.60GHz 3.60GHz
Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

no
[Anything else here]

Actions #1

Updated by JMC4789 over 8 years ago

Emulated or Real Wiimotes? What did you set the TimingVariance to?

Actions #2

Updated by JMC4789 over 8 years ago

I did some testing on this, Wiimote audio definitely sounds slightly different. It seems less likely to cut off/lag sounds and more likely to delay them. I'll test on more setups to see if I can discover any other quirks.

Actions #3

Updated by JMC4789 over 8 years ago

  • Status changed from New to Accepted
  • Assignee set to degasus
  • Priority changed from Normal to High

Confirmed on my DolphinBar; the audio definitely performs worse. Originally thought I was connected to my bluetooth adapter.

Actions #4

Updated by JMC4789 over 8 years ago

  • Status changed from Accepted to Questionable

And then I restarted Dolphin and it performed way better on the new build. What. Still keeping high priority as WTF. Turns out I inadvertently had connected to my DolphinBar the first time rather than my regular bluetooth adapter. DolphinBar definitely is performing worse, but is this a flaw in that hardware, or in Dolphin itself? Things definitely aren't right yet.

Actions #5

Updated by rancourttommylee over 8 years ago

you want proof?

Actions #6

Updated by JMC4789 over 8 years ago

So, the better bluetooth I have actually performs really well with the update; better than the build before it, actually. On my DolphinBar, it's way worse than before the update. So, I don't know what to do with the issue.

Did I ask for proof? I said that I reproduced a difference in behavior.

Actions #7

Updated by degasus over 8 years ago

This commit should have no affect with real wiimote, at least if you keep the default variance.

But it has an affect on emulated wiimote audio. So which are you talking about?

Actions #8

Updated by JMC4789 over 8 years ago

It seems to change the behavior of Real Wiimote audio for me.

Actions #9

Updated by rancourttommylee over 8 years ago

I talk about real wiimote

Actions #10

Updated by rancourttommylee over 8 years ago

excuse me but I made a mistake made by me I do not remember what version, but I can show you proof

Actions #12

Updated by hk.konpie over 8 years ago

Please someone test this patch. Probably this issue will be improved.

Line 232 in WiimoteReal.cpp:
if (!is_speaker_data || m_last_audio_report.GetTimeDifference() > 5)
Replace to:
if (!is_speaker_data || m_last_audio_report.GetTimeDifference() >= 5)

Sorry my bad english.

Actions #13

Updated by degasus over 8 years ago

Why should it be >= 5? To be honest, I don't see any need to not send all audio packages...

Actions #14

Updated by rancourttommylee over 8 years ago

you could create my patch, patch me for me and please send me to test

Actions #15

Updated by rancourttommylee over 8 years ago

all I can tell you this is my Bluetooth version is 4.0

Actions #16

Updated by rancourttommylee over 8 years ago

i have toshiba bluetooth stack

Actions #17

Updated by hk.konpie over 8 years ago

Oops, my comment 12 was unrelated to this issue directly.
Please ignore my comment.

Actions #18

Updated by rancourttommylee over 8 years ago

work good on 3.5-173 for wiimote -TR the wiimote non -TR Do not work good the audio very crackling

Actions #19

Updated by degasus over 8 years ago

konpie: I think you are very right. Changing this lines make the audio much better... I'm just thinking about removing this line completely...

Actions #20

Updated by rancourttommylee about 8 years ago

the sound of a wiimote uses how kbit / s max?
                 I'd like to know please

Actions #21

Updated by rancourttommylee about 8 years ago

work good on dolphin 4.0-8390 on wiimote -TR except for wiimotes non -TR the audio are very crackling

Actions #22

Updated by JosJuice about 8 years ago

  • Status changed from Questionable to Fixed
  • Regression changed from No to Yes

Marking as fixed because the regression is fixed. For non-TR Wii Remotes, there's issue 5977.

Actions

Also available in: Atom PDF