Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
christina

VoodooHDA Volume Control Fix [UPDATED][REUPLOADED]

67 posts in this topic

Recommended Posts

You only need this if you can't control volume (slider changes but volume doesn't) with VoodooHDA.

 

This fixes the internal volume control via a lame method

 

Instructions :

1 . Remove your current VoodooHDA.kext

2 . Install this one

 

This fix basically relinks volume control from Speaker to PCM

 

Version 2 :

Mute now works

 

10.6.X Compatible :mellow:

 

32 Bit Version:

Mediafire:

http://www.mediafire.com/?sharekey=483c425...d71ee60c1ce7296

64x Bit Version :

Coming soon ...

If you have any problems , reply

 

sources : http://pastebin.com/f75f00c76

Share this post


Link to post
Share on other sites

Just tried it. It does now allow the volume to change, however I managed to do this before by just changing the Output under the System Preferences.

 

The annoying part is that the Mute button still doesn't work for me. Any chance there is a quick fix for it as well?

Share this post


Link to post
Share on other sites

This file is neither allocated to a Premium Account, or a Collector's Account, and can therefore only be downloaded 10 times. please i need try

Share this post


Link to post
Share on other sites

pcrew

 

Can you paste or attach what changes you have done in the source?

Or might as well upload also the modified source.

 

I have HP Netbook, and having this issue.

 

Thanks

Share this post


Link to post
Share on other sites

Thanks for this! Works great on my Dell E6500 w/ IDT audio. Even fixes the internal mic!

 

Had to remove the old VoodooHDA prefpane since this broke it, but no big deal!

Share this post


Link to post
Share on other sites

hi, pcrew

 

1 where are the sources/.diff and the license ?

 

2 if you have done some interesting changes, don't forget to submit your work to the voodoo team ;)

Share this post


Link to post
Share on other sites

Works well with the exception that when you unmute your speakers you don't hear any audio unless you change the volume up or down. Any idea why this might be?

Share this post


Link to post
Share on other sites

sources

 

function which changes the volume :

 

void VoodooHDADevice::gmixerSetDefaults(PcmDevice *pcmDevice, UInt16 newVolInt)

{

 

logMsg("gmixer setting defaults");

for (int n = 0; n < SOUND_MIXER_NRDEVICES; n++){

audioCtlOssMixerSet(pcmDevice, n, newVolInt, newVolInt);

logMsg("Control integer::%p\n",n);

}

//if (audioCtlOssMixerSetRecSrc(pcmDevice, SOUND_MASK_MIC) == 0)

//errorMsg("warning: couldn't set recording source to microphone\n");

}

 

volume change handler :

 

IOReturn VoodooHDAEngine::volumeChanged(IOAudioControl *volumeControl, SInt32 oldValue, SInt32 newValue)

{

 

IOLog("VoodooHDAEngine0.1[%p]::volumeChanged(%p, %ld, %ld)\n", this, volumeControl, oldValue, newValue);

 

int ossDev = ( getEngineDirection() == kIOAudioStreamDirectionOutput) ? SOUND_MIXER_VOLUME:

SOUND_MIXER_MIC;

 

PcmDevice *pcmDevice = mChannel->pcmDevice;

 

 

mDevice->gmixerSetDefaults(pcmDevice,newValue);

 

return kIOReturnSuccess;

}

 

 

pastebin : http://pastebin.com/f75f00c76

 

 

will post the 64 bit version on wednesday (the one after wednesday the 14th)

Share this post


Link to post
Share on other sites

Here you go 64bit kext.

 

- based on VoodooHDA 0.2.43 sources and the modifications by pcrew

- compiled only for x64, does not work in 32 bit

- no other modifications than those provided in this topic

 

All credits to VoodooHDA team and pcrew, I just pressed the compile button.

VoodooHDA64.kext.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×