[汎用関数]
説明
サウンドを停止します。
構文
void stopSound(AudioSample* sample) { sample->stop(); }
void stopSound(int soundNo);
void stopSound(char* description);
媒介変数
[in] sample
サンプル音源[in] soundNo
音源ファイル番号[in] description
音源の説明
戻り値
なし
例
#include "myhmi.h" void setup() { Hmi.begin(); // put your setup code here, to run once: Hmi.stopSound(1); } void loop() { // ... }
詳細は 86HMIエディタ ユーザーマニュアル には、86HMI ウィジェットとAPIのさらなる説明がございます。