• 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 ... 607 608 609 610 611 ... 1198 Next »

How/why does Dolphin generate sound frequencies above 17 KHz?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
How/why does Dolphin generate sound frequencies above 17 KHz?
11-17-2013, 02:03 AM
#37
Mere Offline
Junior Member
**
Posts: 13
Threads: 0
Joined: Nov 2013
Certainly if the frequency was 48043 it'd answer why there are more samples then there should be, and they back up. However it'd backup 43 samples a second, 8k samples would need 180 seconds or so.

It says it's documented as 48043. I don't suppose you know if that's Nintendo docs, or someone measured the clock and got 48043 (just a thought that for a console you get a batch of clocks with some variance, but just code for that variance.)

Looking at the code there a few interesting items, eg there's a timing loop for how quickly the AI drains a sample, given it's using the OSGetTime that's bound to be somewhat bogus.

Perhaps the solution is to monitor the backlog and tweak the resampling slightly to try and track the actual consumption rate, as most people probably can't tell if 1% more or less samples come out a second. probably band it to have 3 resamplers. One at normal speed, one at slightly faster, and one slightly slower.

As the buffer passes certain thresholds switch resampling to use a little more or less.

I think I've worked out what happened to Xaudio2. I think it's a build issue, and related to if the directX sdk is available. The move to vs2013 means the wdk 8.1 is used, which changes xaudio around, see this MS article,
http://msdn.microsoft.com/en-US/windows/desktop/ee663275.aspx
I suspect it's something to do with point 8, which talks about using the old sdk header and .lib file for xaudio on win7.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-08-2013, 08:23 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - haddockd - 11-09-2013, 12:10 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - delroth - 11-09-2013, 04:06 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - tueidj - 11-09-2013, 05:33 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-09-2013, 07:32 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - delroth - 11-09-2013, 11:53 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - moosehunter - 11-12-2013, 05:06 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - haddockd - 11-09-2013, 12:24 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - delroth - 11-09-2013, 05:41 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-09-2013, 08:02 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - haddockd - 11-10-2013, 01:23 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-10-2013, 08:01 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-10-2013, 01:47 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-10-2013, 02:17 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-10-2013, 10:56 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-11-2013, 05:49 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-11-2013, 07:51 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Link_to_the_past - 11-11-2013, 09:00 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-11-2013, 10:18 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-11-2013, 10:32 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-12-2013, 09:19 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-12-2013, 09:47 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-13-2013, 04:19 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-13-2013, 07:03 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-13-2013, 10:22 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-13-2013, 10:26 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-13-2013, 06:46 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-14-2013, 11:45 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-14-2013, 12:23 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-14-2013, 08:54 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-14-2013, 11:15 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - delroth - 11-15-2013, 03:37 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - nothingtosay - 11-18-2013, 09:55 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-15-2013, 11:57 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - skid - 11-16-2013, 08:49 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-16-2013, 09:22 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - skid - 11-16-2013, 01:55 PM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - Mere - 11-17-2013, 02:03 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - tueidj - 11-17-2013, 09:43 AM
RE: How/why does Dolphin generate sound frequencies above 17 KHz? - mbc07 - 11-18-2013, 01:25 PM

  • 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