• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 400 401 402 403 404 ... 1058 Next »

Whats wrong with DSound and XAudio2?
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Whats wrong with DSound and XAudio2?
06-29-2014, 05:20 AM
#1
makotech222 Offline
Junior Member
**
Posts: 47
Threads: 3
Joined: Aug 2010
I'm on version 1975, and with all of my games, if I use Dsound or Xaudio2, all voices ingame are much higher pitch. OpenAL doesn't have this problem, but the latency on it is terrible. Anything over 5 is ~1second on latency, anything below is very crackly. Is anyone else getting this?
Find
Reply
06-29-2014, 05:21 AM
#2
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,394
Threads: 28
Joined: Feb 2013
I considered closing this thread for lack of information, but, I'm honestly curious. What game are you suffering this issue from? What is your framerate? Why isn't your profile filled out? How do you expect me to help you without knowing what game you're using?
Find
Reply
06-29-2014, 05:55 AM
#3
makotech222 Offline
Junior Member
**
Posts: 47
Threads: 3
Joined: Aug 2010
Sorry should've said that. It's on all of my games so far. RE:0, Rune Factory TOD,Super Smash Brawl, Xenoblade.


I just tested some more. It seems to be linked to my framerate set in general config. If i set it to limit to audio, it works fine. If i set it to something like 80, it gets higher pitch. Sounds like the timestretching is working improperly.
Find
Reply
06-29-2014, 05:57 AM
#4
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,394
Threads: 28
Joined: Feb 2013
I think you should be using auto framerate when possible. Audio can be a bit unstable. And yeah, it makes sense that the pitch gets higher when the framerate goes up; that's the intended side-effect, instead of just having it get garbled.
Find
Reply
06-29-2014, 05:57 AM
#5
Link_to_the_past Offline
Link on steroids really
*******
Posts: 1,768
Threads: 17
Joined: Feb 2010
(06-29-2014, 05:20 AM)makotech222 Wrote: I'm on version 1975, and with all of my games, if I use Dsound or Xaudio2, all voices ingame are much higher pitch. OpenAL doesn't have this problem, but the latency on it is terrible. Anything over 5 is ~1second on latency, anything below is very crackly. Is anyone else getting this?

Let me guess, you enforced 60 fps framelimit instead of leaving it to auto, correct? Not all games run at 60 fps, some run at 30 and some have variable framerate.
Find
Reply
06-29-2014, 05:58 AM
#6
makotech222 Offline
Junior Member
**
Posts: 47
Threads: 3
Joined: Aug 2010
Well this is some new behavior to me. Older versions didn't have this issue.
Find
Reply
06-29-2014, 06:00 AM
#7
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,394
Threads: 28
Joined: Feb 2013
Depends on how old of a build you are coming from. Much older builds (3.5) have awful HLE audio emulation, but can play audio normally at any speed thanks to how broken it is.
Find
Reply
06-29-2014, 06:05 AM
#8
makotech222 Offline
Junior Member
**
Posts: 47
Threads: 3
Joined: Aug 2010
Is there any way to fix up OpenAL to prevent crackling and latency?
Find
Reply
06-29-2014, 07:20 AM (This post was last modified: 06-29-2014, 07:22 AM by mbc07.)
#9
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 2,981
Threads: 26
Joined: Dec 2010
This is the side effect to reduce latency in DSound/XAudio2. Sometime ago, one of the developers (degasus I think) did some changes in Dolphin's audio mixer to reduce audio latency caused by DSound/XAudio2. To achieve that, time stretching were replaced by this new technique with doesn't increase latency but make the audio high or low pitched accordingly to the speed. In your case, you manually defined frame limit to a higher value, which resulted in high pitch (if you define it to 10, for example, the audio will have low pitch). To prevent that, just leave frame limiter as Auto and you won't get any problem...

Quote:Is there any way to fix up OpenAL to prevent crackling and latency?
As far as I know, no. The way time stretching feature from OpenAL works inevitably introduces latency and there's nothing to do to remedy this...


EDIT: yes, it was degasus, you can check the original thread here...
HP ENVY dv6t-7300 Notebook PC              ASRock Z97M OC Formula
CPU: Intel Core i7-3630QM @ 2.4GHz         Intel Pentium G3258 @ 4.2GHz (OC)
GPU: NVIDIA GeForce GT 635M @ 2GB DDR3     NVIDIA GeForce GT 440 @ 1GB DDR3
RAM: 12GB @ DDR3-1600 (4+8GB)              16GB @ DDR3-1600 (4x4GB)
OS:  Windows 10 (Insider Preview)          Windows 10 (version 1909)
Find
Reply
06-29-2014, 07:42 AM
#10
makotech222 Offline
Junior Member
**
Posts: 47
Threads: 3
Joined: Aug 2010
Blah, i hate playing games at normal speed. I ended up reverting back to version 800ish.
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode