[MPlayer-cvslog] r38672 - in trunk/libao2: ao_dart.c ao_kai.c

komh subversion at mplayerhq.hu
Wed Jan 8 16:09:40 EET 2025


Author: komh
Date: Wed Jan  8 16:09:39 2025
New Revision: 38672

Log:
ao_dart, ao_kai: show the requested audio format correctly

Modified:
   trunk/libao2/ao_dart.c
   trunk/libao2/ao_kai.c

Modified: trunk/libao2/ao_dart.c
==============================================================================
--- trunk/libao2/ao_dart.c	Mon Jan  6 22:56:52 2025	(r38671)
+++ trunk/libao2/ao_dart.c	Wed Jan  8 16:09:39 2025	(r38672)
@@ -170,9 +170,9 @@ static int init(int rate, int channels,
         break;
 
     default:
-        format = AF_FORMAT_S16_LE;
         mp_msg(MSGT_AO, MSGL_V, "DART: format %s not supported defaulting to Signed 16-bit Little-Endian\n",
                af_fmt2str_short(format));
+        format = AF_FORMAT_S16_LE;
         break;
     }
 

Modified: trunk/libao2/ao_kai.c
==============================================================================
--- trunk/libao2/ao_kai.c	Mon Jan  6 22:56:52 2025	(r38671)
+++ trunk/libao2/ao_kai.c	Wed Jan  8 16:09:39 2025	(r38672)
@@ -208,9 +208,9 @@ static int init(int rate, int channels,
         break;
 
     default:
-        format = AF_FORMAT_S16_LE;
         mp_msg(MSGT_AO, MSGL_V, "KAI: format %s not supported defaulting to Signed 16-bit Little-Endian\n",
                af_fmt2str_short(format));
+        format = AF_FORMAT_S16_LE;
         break;
     }
 


More information about the MPlayer-cvslog mailing list