kxproject / kx-audio-driver

kX driver source code (for Windows and Mac)
Other
143 stars 64 forks source link

[osx] Increase CAEngine buffer size (n_frames) by 4 times #7

Closed herrnst closed 10 years ago

herrnst commented 10 years ago

Closes https://github.com/kxproject/kx-audio-driver/issues/5.

It seems that on Mavericks, something (the Timer Coalescing thing?) can cause a buffer over/underrun, resulting in (wild guess!) CAEngine and the hardware getting out of sync which will make playback crackle heavily. Increasing the Engine buffer prevents this from happening.

(NB: Someone with better knowledge of OSX Kernel/Driver/CoreAudio and the E-mu hardware should probably fix this properly, but I have a feeling the former as well as (and especially) the latter are getting really rare nowadays due to people rather sticking to motherboard audio et al...)

owenjbrady commented 9 years ago

how do I apply this patch do I just add it to the info.plist or what exactuly?

im sorry im a windows/linux user and lately have switched to mac

I have this card and its much louder then my on board but I am getting out of sync issues and crackling under yosemite 10.10.2

ForbiddenEra commented 9 years ago

Hi,

I haven't applied the patch and recompiled myself, still using mavericks and well, I'm on a mac pro not a hack and it doesn't do pci.

I could maybe take a look if you can remind me but, it's not a priority

Sent from my Samsung Galaxy Tab® S

-------- Original message -------- From: owenjbrady notifications@github.com Date: 02-25-2015 2:09 PM (GMT-07:00) To: kxproject/kx-audio-driver kx-audio-driver@noreply.github.com Subject: Re: [kx-audio-driver] [osx] Increase CAEngine buffer size (n_frames) by 4 times (#7)

how do I apply this patch do I just add it to the info.plist or what exactuly?

im sorry im a windows/linux user and lately have switched to mac

I have this card and its much louder then my on board but I am getting out of sync issues and crackling under yosemite 10.10.2

— Reply to this email directly or view it on GitHub.

owenjbrady commented 9 years ago

http://www26.zippyshare.com/v/KY8p14lz/file.html

ForbiddenEra commented 9 years ago

@owenjbrady I was unable to see earlier - but the project merged the patch here, so, the current source should include the patch - if you compile it, it should work.

 kxproject merged commit af23277 into kxproject:master from herrnst:osx-buffer on Jun 24, 2014