diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/say.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/say.c b/examples/say.c index fa16242..c89a245 100644 --- a/examples/say.c +++ b/examples/say.c @@ -154,12 +154,14 @@ int main(int argc, char **argv) { goto error_bank_record; } + xas_bank_player_select(player, 0, 1.0); + for (i=0; i<duration_frames; i++) { void *buf; ssize_t readlen; if (i >= 300 && !xas_bank_player_playing(player)) { - xas_bank_player_start(player, 0, 1.0); + xas_bank_player_start(player); } if ((readlen = xas_audio_stream_read(mixer->output, |