changeset 13565:d8808729d3fd

unsinged 32 and 24bit types
author alex
date Tue, 05 Oct 2004 19:18:22 +0000
parents 992960f68af0
children 2cfb32a737aa
files libao2/afmt.c
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/afmt.c	Tue Oct 05 19:11:00 2004 +0000
+++ b/libao2/afmt.c	Tue Oct 05 19:18:22 2004 +0000
@@ -30,10 +30,18 @@
 	    return("MPEG (2) audio");
 	case AFMT_AC3:
 	    return("AC3");
+	case AFMT_U32_LE:
+	    return("Unsigned 32-bit (Little-Endian)");
+	case AFMT_U32_BE:
+	    return("Unsigned 32-bit (Big-Endian)");
 	case AFMT_S32_LE:
 	    return("Signed 32-bit (Little-Endian)");
 	case AFMT_S32_BE:
 	    return("Signed 32-bit (Big-Endian)");
+	case AFMT_U24_LE:
+	    return("Unsigned 24-bit (Little-Endian)");
+	case AFMT_U24_BE:
+	    return("Unsigned 24-bit (Big-Endian)");
 	case AFMT_S24_LE:
 	    return("Signed 24-bit (Little-Endian)");
 	case AFMT_S24_BE:
@@ -56,11 +64,15 @@
 
 	case AFMT_S32_LE:
 	case AFMT_S32_BE:
+	case AFMT_U32_LE:
+	case AFMT_U32_BE:
 	case AFMT_FLOAT:
 	return 32;
 
 	case AFMT_S24_LE:
 	case AFMT_S24_BE:
+	case AFMT_U24_LE:
+	case AFMT_U24_BE:
 	return 24;
 	
 	case AFMT_MU_LAW: