Wave Player

Dependents:   Capacitive_Touch_Sensor_MP3_Player

Fork of wave_player by Steve Ravet

Revision:
2:87acbc2d0023
Parent:
1:acc3e18e77ad
--- a/wave_player.h	Tue Jan 18 03:57:27 2011 +0000
+++ b/wave_player.h	Mon Nov 21 21:13:54 2016 +0000
@@ -43,7 +43,7 @@
  *
  * @param wavefile  A pointer to an opened wave file
  */
-void play(FILE *wavefile);
+void play(FILE *wavefile, int *startStop, int *volume);
 
 /** Set the printf verbosity of the wave player.  A nonzero verbosity level
  * will put wave_player in a mode where the complete contents of the wave
@@ -57,6 +57,8 @@
  * @param v the verbosity level
  */
 void set_verbosity(int v);
+int g_volume;
+int startStop;
 
 private:
 void dac_out(void);