summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/DirectInput/DirectInputKeyboardMouse.cpp
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-05-30 04:21:01 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-05-30 04:21:01 +0000
commit7f50bb55795729cfa86ef7badd640e62e4719dd5 (patch)
tree8aaac84c1e5b7168424eb26e44d342fbce9e32ae /Source/Core/InputCommon/Src/ControllerInterface/DirectInput/DirectInputKeyboardMouse.cpp
parenta88e09edc2e592bae5f1933c3aced22cb8ab2463 (diff)
Get the audio unit output buffer size and use that as the rendering
quantum, as the callback wants us to provide exactly the amount of samples needed. This is incomplete because core audio may ask for less than the full buffer size (for me, typically 1484 or 1488 bytes of a 2048 byte buffer). As a quick hack until I read the rather impenetrable core audio documentation, assume that each callback request will want about the same number of samples as the preceeding one. This makes sound bearable. Also various cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5543 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/DirectInput/DirectInputKeyboardMouse.cpp')
0 files changed, 0 insertions, 0 deletions