changeset 1121:2cd5ab1bee75

audio_format_out_name update
author al3x
date Wed, 13 Jun 2001 11:18:20 +0000
parents c8c8aead5075
children fe9ef743be91
files libao2/audio_out.c
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/audio_out.c	Wed Jun 13 00:50:21 2001 +0000
+++ b/libao2/audio_out.c	Wed Jun 13 11:18:20 2001 +0000
@@ -64,11 +64,12 @@
 {
     switch (format)
     {
-/*
 	case AFMT_MU_LAW:
+	    return("Mu-Law");
 	case AFMT_A_LAW:
+	    return("A-Law");
 	case AFMT_IMA_ADPCM:
-*/
+	    return("Ima-ADPCM");
 	case AFMT_S8:
 	    return("Signed 8-bit");
 	case AFMT_U8:
@@ -83,8 +84,10 @@
 	    return("Unsigned 16-bit (Big-Endian)");
 	case AFMT_MPEG:
 	    return("MPEG (2) audio");
-	// the following two formats are not available with old linux kernel
-	// headers (e.g. in 2.2.16)
+/*
+  the following two formats are not available with old linux kernel
+  headers (e.g. in 2.2.16)
+*/
 #ifdef AFMT_S32_LE
 	case AFMT_S32_LE:
 	    return("Signed 32-bit (Little-Endian)");