Problem: kext doesn't work (usually when there's more than one audio card or the video card has HDMI audio).Solution: use solution 2 for kernel panic problem above. If you want to use both cards, create one entry for each card in IOKitPersonalities.

It can also be done in the prefPane. In some cases you may need to mute Monitor instead of iGain.

Problem: audio delay. If you change volume, for example, it takes 1 or 2 seconds to play the test sound.Solution 1: delete com.apple.audio.DeviceSettings.plist and com.apple.audio.SystemSettings.plist from /Library/Preferences/Audio and reboot.Solution 2: use SoundFlower.

Default Association and Sequence are used together by software to group Pin Complexes (and therefore jacks) together into functional blocks to support multichannel operation. Software may assume that all jacks with the same association number are intended to be grouped together, for instance to provide six channel analog output. The Default Association can also be used by software to prioritize resource allocation in constrained situations. Lower Default Association values would be higher in priority for resources such as processing nodes or Input and Output Converters. Note that this is the default association only, and software can override this value if required, in particular if the user provides additional information about the particular system configuration. A value of 0000b is reserved and should not be used. Software may interpret this value to indicate that the Pin Configuration data has not been properly initialized. A value of 1111b is a special value indicating that the Association has the lowest priority. Multiple different Pin Complexes may share this value, and each is intended to be exposed as independent devices.

Sequence indicates the order of the jacks in the association group. The lowest numbered jack in the association group should be assigned the lowest numbered channels in the stream, etc. The numbers need not be sequential within the group, only the order matters. Sequence numbers within a set of Default Associations must be unique.

*My notes for this, if you look on the vanilla codec verb(no matter what codec) you will see that Sequence is always 0.Why that, and why for us on our codec verbs is different? Simple b/c Apple dosen't have multichannel analog out! so you must change it to 0.

*About Default Association, Keep the default one, in order, and on those that are the same replace them with new one that dosen't exist already in the dump... the values you can use are: 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d and f.(see what does verbit if you still don't understand)

Misc is a bit field used to indicate other information about the jack. Currently, only bit 0 is defined. If bit 0 is set, it indicates that the jack has no presence detect capability, so even if a Pin Complex indicates that the codec hardware supports the presence detect functionality on the jack, the external circuitry is not capable of supporting the functionality.Reserved 3 Reserved 2 Reserved 1 Jack Detect Override 0

Default Device indicates the intended use of the jack or device. This can indicate either the label on the jack or the device that is hardwired to the port, as with integrated speakers and the like.

Line Out 0
Speaker 1
HP Out 2
CD 3
SPDIF Out 4
Digital Other Out 5
Modem Line Side 6
Modem Handset Side 7
Line In 8
AUX 9
Mic In A
Telephony B
SPDIF In C
Digital Other In D
Reserved E
Other F

Connection Type indicates the type of physical connection, such as a 1/8-inch stereo jack or an optical digital connector, etc. Software can use this information to provide helpful user interface descriptions to the user or to modify reported codec capabilities based on the capabilities of the physical transport external to the codec.

Port Connectivity indicates the external connectivity of the Pin Complex. Software can use this value to know what Pin Complexes are connected to jacks, internal devices, or not connected at all.00b - The Port Complex is connected to a jack (1/8", ATAPI, etc.). 01b - No physical connection for Port. 10b - A fixed function device (integrated speaker, integrated mic, etc.) is attached. 11b - Both a jack and an internal device are attached. The Information provided in all other fields refers to the integrated device. The PD pin will reflect the status of the jack; the user will need to be queried to figure out what it is.

Location indicates the physical location of the jack or device to which the pin complex is connected. This allows software to indicate, for instance, that the device is the “Front Panel Headphone Jack” as opposed to rear panel connections.

*Details:Convert the 2 digit hex number to binary.Pad the front with zero's to make it 8 dgits.

Posted 12 October 2011 - 06:31 PM

oldnapalm

InsanelyMac V.I.P.

Moderators

6,860 posts

Gender:Male

Location:Brazil

Usually (at least in the codecs I tested) all line-out have the same default association, only the sequence changes. You have to set a different default association for each line-out and set sequence as zero.

Once you have 3 or 4 line-out working, create an aggregate device, configure the speakers and select it in sound output.

*About Default Association, Keep the default one, in order, and on those that are the same replace them with new one that dosen't exist already in the dump... the values you can use are: 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d and f.(see what does verbit if you still don't understand)

Posted 13 October 2011 - 08:01 PM

buoo

The Prodigal Son

Moderators

4,604 posts

Gender:Male

Location:Italy

Thanks Crosx86
Thanks to this guide the audio works, but not perfectly. I hear a little background noise (like crackling noises).
I got my codec_dump codec_dump.txt15.35KB52 downloads
and that's what I get with verbit:

It can also be done in the prefPane. In some cases you may need to mute Monitor instead of iGain.

I'm not able to decrease the volume(of the mic)

Try to do it in VoodooHDA prefPane, once you find a good value you can set in Info.plist (MixerValues), but the value set in prefPane will be restored after reboot if you use voodoohdahelper (installed by the pkg).