Fixes to issues reported by Tyler Spivey
diff --git a/sonic.c b/sonic.c
index 390e42f..c45fe25 100644
--- a/sonic.c
+++ b/sonic.c
@@ -229,7 +229,7 @@
 }
 
 /* Return the number of samples in the output buffer */
-int sonicSamplesAvailale(
+int sonicSamplesAvailable(
    sonicStream stream)
 {
     return stream->numOutputSamples;