播放
2 個節點
本頁內容 2
播放是否可用
函數Whether this machine has an audio device that AudioPlayback.Play can use.
簽名
播放是否可用() -> 真否
bool IsPlaybackAvailable()
返回
| 可用 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 播放
- 所屬包
- 音訊處理
播放
函數Plays a clip through the default audio device, and waits until it has finished.
簽名
播放(音訊: AudioBuffer) -> AudioBuffer
AudioBuffer Play(AudioBuffer audio)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to play. |
返回
| 音訊 | AudioBuffer |
備註
Waiting is what lets a program play one sound after another: the next step starts when this one has been heard. With no audio device, this stops the program and says so rather than playing nothing silently.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 播放
- 所屬包
- 音訊處理