How to determine when playback of a raw file from the SD card is finished

Status
Not open for further replies.

kg4rul

Member
I am working on a Simplex Amateur Radio Repeater. Operation is such that when a signal is detected, the recorder starts and a recording timer is started. When the signal is no longer detected or the recording time limit has elapsed, the radio is set to transmit and the recorded audio is played back and transmitted. I need a way to to detect, programmatically, when the playback has completed, so the transmitter can be turned off and the repeater reverted to listening for in incoming signal.

Dennis, KG4RUL
 
Code not shown to show play context?

But is this the answer from HERE > see right pane:
Code:
isPlaying();

Return true (non-zero) if playing, or false (zero) when not playing. See the note below about delayed start.
 
Status
Not open for further replies.
Back
Top