aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gaudio/play-vs1053/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gaudio/play-vs1053/main.c')
-rw-r--r--demos/modules/gaudio/play-vs1053/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gaudio/play-vs1053/main.c b/demos/modules/gaudio/play-vs1053/main.c
index 4e9c4b97..8cfa60f6 100644
--- a/demos/modules/gaudio/play-vs1053/main.c
+++ b/demos/modules/gaudio/play-vs1053/main.c
@@ -83,7 +83,7 @@ repeatplay:
toplay = gfileGetSize(f);
while(toplay) {
// Get a buffer to put the data into
- pd = gfxBufferGet(TIME_INFINITE); // This should never fail as we are waiting forever
+ pd = gfxBufferGet(gDelayForever); // This should never fail as we are waiting forever
// How much data can we put in
len = toplay > pd->size ? pd->size : toplay;
@@ -101,7 +101,7 @@ repeatplay:
gfileClose(f);
// Wait for the play to finish
- gaudioPlayWait(TIME_INFINITE);
+ gaudioPlayWait(gDelayForever);
gdispDrawString(0, gdispGetHeight()/2+10, "Done", font, GFX_GREEN);
// Repeat the whole thing