5T33Z0 / AppleALC-Guides

Guides for working with the AppleALC source code to get audio working on Wintel machines running macOS.
BSD 3-Clause "New" or "Revised" License
45 stars 14 forks source link

How to edit related files if you only want the built-in speaker to sound #8

Closed aTan20170106 closed 9 months ago

aTan20170106 commented 9 months ago

Hello, may I ask a question about how to edit the Platforms.XML, layout.xml, and info.plist files to make the built-in speaker sound. Especially when dealing with data under PathMap child nodes in the fixed format of Platforms.XML. For example, the ALC287 of the Yoga Duet IML 2020 laptop currently cannot drive the built-in speaker using Alcid: 21. Can we solve this problem by first resolving the built-in speaker and then processing other nodes.

5T33Z0 commented 9 months ago

I suggest you use Layout 21 as a base and modify the files as explained in-depth in the guide.

aTan20170106 commented 9 months ago

I have read the guide before and have identified the speaker nodes, headphones, and microphone nodes. Modified Platforms in ALC287 XML, layout.xml, info.plist, PinConfigs.kext, but have not been successful. So use the exclusion method to determine whether each valid node is valid.

Platforms The child nodes under XML, PathMaps ->PathMap, have two main categories of input and output, but currently only the built-in speakers in the output are needed. I don't need anything else, I don't know how to handle it at this point. Obtained code file codec#0.txt