emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/emms 342c44103a 35/42: Fix multi-channel mapping in Opu


From: ELPA Syncer
Subject: [elpa] externals/emms 342c44103a 35/42: Fix multi-channel mapping in Opus identification header
Date: Wed, 1 Nov 2023 15:58:02 -0400 (EDT)

branch: externals/emms
commit 342c44103a88f3bb0bdfbc0d4cb37878044b46c6
Author: Petteri Hintsanen <petterih@iki.fi>
Commit: Petteri Hintsanen <petterih@iki.fi>

    Fix multi-channel mapping in Opus identification header
---
 emms-info-native-opus.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/emms-info-native-opus.el b/emms-info-native-opus.el
index edb7125b1e..215b862582 100644
--- a/emms-info-native-opus.el
+++ b/emms-info-native-opus.el
@@ -59,13 +59,14 @@
                   (error "Opus version mismatch: expected < 16, got %s"
                          opus-version)))
         (channel-count u8)
+        (_ unit (progn (setq emms-info-native-opus--channel-count 
channel-count) nil))
         (pre-skip uint 16 'le)
         (sample-rate uint 32 'le)
         (output-gain uint 16 'le)
         (channel-mapping-family u8)
-        (channel-mapping . (if (> channel-mapping-family 0)
-                               (type 
emms-info-native-opus--channel-mapping-bindat-spec)
-                             (unit nil))))
+        (_ . (if (> channel-mapping-family 0)
+                 (type emms-info-native-opus--channel-mapping-bindat-spec)
+               (unit nil))))
     '((opus-head str 8)
       (eval (unless (equal last emms-info-native-opus--id-magic-pattern)
               (error "Opus framing mismatch: expected `%s', got `%s'"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]