stopSound

stopSound()


Description

Stop to play sound


Syntax
stopSound(

Parameters
  none


Usages
  stopSound( )



Examples in arduino

#include "AppGosu.h"
AppGosu app;


void  setup() {

     app.start();
     app.clearAll();


    app.textSize(50);
    app.fill(255,255,255);
    app.text("--- sound ---", 60, 50);
   
    app.sound("music.mp3");
    app.text("play sound...", 50, 200);
    delay(5000);
    app.stopSound();
    app.text("Stop.", 50, 350);
}

void loop() {


}




Examples in other MCU (AVR, PIC, MSP430)

printf("
stopSound();");


















from AppGosu
-----------------------------------------










No comments: