[pulseaudio-discuss] [PATCH] Add HDMI Surround 7.1 profiles
Alexander E. Patrakov
patrakov at gmail.com
Wed Jul 16 02:28:32 PDT 2014
15.07.2014 22:28, I wrote:
> 13.07.2014 18:12, Tanu Kaskinen wrote:
>> Someone (not me, at least any time soon) could write a simple
>> patch that measures and logs (at error level - measurements shouldn't be
>> done at debug log level) the time that the probing takes. Then test it
>> on your development machine, and if the time seems negligible, try also
>> e.g. plugging in a USB sound card to a Raspberry Pi.
>
> Done. See the attachment.
The old desktop (0 = onboard analog audio, 1 = snd-pcsp, 2 = TV/radio
tuner based on SAA7134):
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-mono
took 5805 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-stereo
took 4411 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:iec958-stereo
took 490 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-mono
took 1303 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-stereo
took 776 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-stereo+input:analog-stereo took 521 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-21 took 625 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-40 took 2559 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-41 took 2099 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-50 took 2040 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-51 took 2574 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-71 took 2540 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:iec958-stereo
took 440 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-40 took 24 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-51 took 21 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-dts-surround-51 took 20 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:hdmi-stereo
took 419 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:hdmi-surround
took 404 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra1 took 384 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra1 took 393 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra2 took 380 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra2 took 431 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra3 took 377 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra3 took 389 usec
E: [pulseaudio] alsa-mixer.c: Checking for all profiles on device 0 took
43775 usec in total
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-mono
took 415 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-stereo
took 587 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:iec958-stereo
took 270 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-mono
took 179 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-stereo
took 420 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-21 took 240 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-40 took 236 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-41 took 254 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-50 took 243 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-51 took 235 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-71 took 235 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:iec958-stereo
took 260 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-40 took 24 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-51 took 21 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-dts-surround-51 took 22 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:hdmi-stereo
took 260 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:hdmi-surround
took 271 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra1 took 233 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra1 took 233 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra2 took 234 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra2 took 233 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra3 took 232 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra3 took 233 usec
E: [pulseaudio] alsa-mixer.c: Checking for all profiles on device 2 took
12530 usec in total
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-mono
took 293 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-stereo
took 545 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
input:analog-4-channel-input took 211 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:iec958-stereo
took 265 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-mono
took 290 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-stereo
took 4092 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-21 took 255 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-40 took 279 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-41 took 251 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-50 took 253 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-51 took 264 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-71 took 242 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:iec958-stereo
took 265 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-40 took 24 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-51 took 23 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-dts-surround-51 took 22 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:hdmi-stereo
took 302 usec
E: [pulseaudio] alsa-mixer.c: Checking for all profiles on device 1 took
11445 usec in total
--
Alexander E. Patrakov
More information about the pulseaudio-discuss
mailing list