• 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-15-2013, 11:57 PM
#33
Mere Offline
Junior Member
**
Posts: 13
Threads: 0
Joined: Nov 2013
It does seem like audio frame sync is there to stop the emulator throwing away a few ms of samples because the mixer buffer is full, and once the mixer is full it'll probably stay close to full as it clearly isn't draining quick enough.

The dropping of sound samples causes audible pops (especially on lightly loaded things, eg the system menu)

I suspect that the mixer buffer being full is an indication that samples are coming out of the emulator quicker than they should be, and that somewhere there's a missing feedback loop.

At a guess it's something to do with the AudioInterface updating consumed samples on a timer, and so when it interrupts the CPU to say I've consumed the samples it's a fraction early. It might work better if was actually tied into the Mixer code which actually consumes the samples... However, that might upset the code that "DMAs" the samples to the mixer buffer on a 4khz timer (unless that's also part of what's wrong?)

However, this is all speculation on my part based on what I see happening, and a lack of detailed knowledge of all these areas. Certainly any insight as to am I completely mad to be looking at those areas would be appreciated.
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