Instruct the brick to play a sound file.
- Parameters:
-
| brick | - Pointer to a brick structure with an open connection. |
| flags | - Bit flags to control play mode. |
| filename | - Name of sound file (must be on brick already). |
- Author:
- Jason W. Bacon
Play the specified sound file on the brick. The filename must end in ".rso", and must have been previously uploaded to the brick. The brick must first be opened with
rct_open_brick().
Valid flags:
- RCT_NO_FLAGS
- RCT_LOOP - Play file repeatedly until manually stopped by a stop command or the NXT stop button.
Supported bricks: