[pulseaudio-discuss] [PATCH] Add HDMI Surround 7.1 profiles
Alexander E. Patrakov
patrakov at gmail.com
Wed Jul 16 01:27:24 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.
Results from my Sony laptop (0 = onboard Intel audio with analog output,
microphone and HDMI; 1 = Radeon video card in the hot-pluggable docking
station, with HDMI).
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-mono
took 2258 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-stereo
took 3881 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:iec958-stereo
took 209 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-mono
took 520 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-stereo
took 350 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-stereo+input:analog-stereo took 210 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-21 took 22 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-40 took 1144 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-41 took 866 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-50 took 841 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-51 took 1053 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-71 took 1028 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:iec958-stereo
took 203 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-40 took 17 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-51 took 16 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-dts-surround-51 took 15 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:hdmi-stereo
took 3851 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo+input:analog-stereo took 218 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:hdmi-surround
took 3295 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround+input:analog-stereo took 339 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra1 took 261 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra1 took 245 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra2 took 253 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra2 took 165 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra3 took 162 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra3 took 160 usec
E: [pulseaudio] alsa-mixer.c: Checking for all profiles on device 0 took
25925 usec in total
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-mono
took 174 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:analog-stereo
took 334 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile input:iec958-stereo
took 291 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-mono
took 109 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:analog-stereo
took 332 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-21 took 17 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-40 took 193 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-41 took 587 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-50 took 233 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-51 took 212 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:analog-surround-71 took 215 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:iec958-stereo
took 342 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-40 took 19 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-ac3-surround-51 took 16 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:iec958-dts-surround-51 took 15 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:hdmi-stereo
took 1542 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile output:hdmi-surround
took 3375 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra1 took 367 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra1 took 198 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra2 took 203 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra2 took 226 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-stereo-extra3 took 226 usec
E: [pulseaudio] alsa-mixer.c: Checking for profile
output:hdmi-surround-extra3 took 192 usec
E: [pulseaudio] alsa-mixer.c: Checking for all profiles on device 1 took
10929 usec in total
--
Alexander E. Patrakov
More information about the pulseaudio-discuss
mailing list