[PATCH] edid-decode: print hdmi 3d audio max channels same as SAT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In libdisplay-info we parse the HDMI 3D Audio descriptor into a SAT
structure and use the same function to print it. It almost matches with
edid-decode but the max channels is printed differently.

Signed-off-by: Sebastian Wick <sebastian.wick@xxxxxxxxxx>
---
 parse-cta-block.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/parse-cta-block.cpp b/parse-cta-block.cpp
index e26579a..4d2afc6 100644
--- a/parse-cta-block.cpp
+++ b/parse-cta-block.cpp
@@ -2512,8 +2512,8 @@ static void cta_hdmi_audio_block(const unsigned char *x, unsigned length)
 		if (length > 4) {
 			unsigned format = x[0] & 0xf;
 
-			printf("    %s, max channels %u\n", audio_format(format).c_str(),
-			       (x[1] & 0x1f)+1);
+			printf("    %s:\n", audio_format(format).c_str());
+			printf("      Max channels: %u\n", (x[1] & 0x1f)+1);
 			printf("      Supported sample rates (kHz):%s%s%s%s%s%s%s\n",
 			       (x[2] & 0x40) ? " 192" : "",
 			       (x[2] & 0x20) ? " 176.4" : "",
-- 
2.44.0





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux