Ian Bromley / Mbed 2 deprecated playback

Files at this revision

API Documentation at this revision

Comitter:
Ian
Date:
Fri Feb 24 12:12:10 2012 +0000
Parent:
0:7e48dd9b0da2
Commit message:
For Mike Brojak

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Feb 23 15:25:17 2012 +0000
+++ b/main.cpp	Fri Feb 24 12:12:10 2012 +0000
@@ -39,6 +39,7 @@
             writePointer &= 0xfff;
         }
     }
+   audio.outputVolume(0,0);
 }
 /* main */
 int main(){   
@@ -47,6 +48,7 @@
         perror("Error opening file!");
         exit(1);
     }
+    printf ("ok\n");
     /* Parse wav file header */
     fseek(infp, 22, SEEK_SET);                      
     fread(&channels, 2, 1, infp);