FreeCalypso > hg > ice1-trau-tester
comparison ater/tx_func.c @ 27:2742dbea95f1
ater: implement play command
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 24 Jun 2024 20:31:29 +0000 |
parents | 237687e2be6c |
children | 16715bd149e0 |
comparison
equal
deleted
inserted
replaced
26:237687e2be6c | 27:2742dbea95f1 |
---|---|
42 at->play_buf_ptr++; | 42 at->play_buf_ptr++; |
43 if (at->play_buf_ptr < at->play_buf_total) | 43 if (at->play_buf_ptr < at->play_buf_total) |
44 return; | 44 return; |
45 free(at->play_buffer); | 45 free(at->play_buffer); |
46 at->play_buffer = NULL; | 46 at->play_buffer = NULL; |
47 printf("file play finished\n"); | |
47 } | 48 } |
48 | 49 |
49 static void tx_service_subslot(int nr) | 50 static void tx_service_subslot(int nr) |
50 { | 51 { |
51 struct ater_subslot *at = &subslots[nr]; | 52 struct ater_subslot *at = &subslots[nr]; |