shithub: sox

Download patch

ref: 279dd05d06b7f5f15bb251fd3058ad119c828df6
parent: 5d838971a2a9572bbb4b59ffc3879668164d8f02
author: cbagwell <cbagwell>
date: Wed Jan 5 10:29:48 EST 2000

Fixed minor typos.

--- a/src/alsa.c
+++ b/src/alsa.c
@@ -83,7 +83,7 @@
 		fmt = SND_PCM_SFMT_U8;
 		break;
 	    default:
-		fail("Hardware does not support %s output", styles[ft->info.style]);
+		fail("Hardware does not support %s output", st_encodings_str[ft->info.style]);
 		return(ST_EOF);
 		break;
 	}
@@ -102,7 +102,7 @@
 		fmt = SND_PCM_SFMT_U16_LE;
 		break;
 	    default:
-		fail("Hardware does not support %s output", styles[ft->info.style]);
+		fail("Hardware does not support %s output", st_encodings_str[ft->info.style]);
 		return(ST_EOF);
 		break;
 	}
@@ -186,7 +186,7 @@
 		fmt = SND_PCM_SFMT_U8;
 		break;
 	    default:
-		fail("Hardware does not support %s output", styles[ft->info.style]);
+		fail("Hardware does not support %s output", st_encodings_str[ft->info.style]);
 		return(ST_EOF);
 		break;
 	}
@@ -211,7 +211,7 @@
 		fmt = SND_PCM_SFMT_U16_LE;
 		break;
 	    default:
-		fail("Hardware does not support %s output", styles[ft->info.style]);
+		fail("Hardware does not support %s output", st_encodings_str[ft->info.style]);
 		return(ST_EOF);
 		break;
 	}
--- a/src/wve.c
+++ b/src/wve.c
@@ -1,4 +1,4 @@
-/*;
+/*
  * Psion wve format, based on the au format file. Hacked by
  * Richard Caley (R.Caley@ed.ac.uk)
  */