Goldfish64 / AudioPkg

Audio stack for UEFI. Currently supports HD audio controllers/codecs. WIP
54 stars 10 forks source link

about EFI codecdumper #10

Open roddy20 opened 5 years ago

roddy20 commented 5 years ago

Partial dump:

Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x mute=5

1 no value for stepsize, it must be 0x5 according the linux dump 2 mute 5 is invalid, it is 0 or 1, yes or no, "mute" cannot be a number maybe stepsize and mute are misplaced? the same for a lot of nodes

Thanks

roddy20 commented 5 years ago

the same data from linux Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="AD1988B Alt Analog", type="Audio", device=2 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x00 0x00] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0

roddy20 commented 5 years ago

I am not sure but it seems to be wrong formatting here Print(L"ofs=0x%2X, nsteps=0x%2X, stepsize=0x%2X, mute=%u\n",

roddy20 commented 5 years ago

dump looks much better :) Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x27 0x27] Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x27 0x27]