changeset 14273:dcdbe7055e62

more verbose messages
author alex
date Wed, 29 Dec 2004 19:26:01 +0000
parents 5a2473f37499
children 012426ca576b
files libao2/ao_oss.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_oss.c	Wed Dec 29 19:05:29 2004 +0000
+++ b/libao2/ao_oss.c	Wed Dec 29 19:26:01 2004 +0000
@@ -76,7 +76,7 @@
     case AF_FORMAT_AC3: return AFMT_AC3;
 #endif
     }
-    printf("Unknown format: %x\n", format);
+    printf("Unknown/not supported internal format: %s\n", af_fmt2str_short(format));
     return -1;
 }
 
@@ -116,7 +116,7 @@
     case AFMT_AC3: return AF_FORMAT_AC3;
 #endif
     }
-    printf("Unknown format: %x\n", format);
+    printf("Unknown/not supported OSS format: %x\n", format);
     return -1;
 }