Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Circumventing repeat mode?

Circumventing repeat mode?

From: ds2list <ds2list_at_yahoo.com>
Date: Fri, 02 May 2003 18:51:52 -0700

Ok, that solved that problem. Thanks! :)

Now, I have a question about repeat mode. I'd like to play
an mp3 just once without having it repeat, regardless of what the
setting of global_settings.repeat_mode is. How would I do this?
If I use play_list on a playlist, it is subject to the
repeat_mode variable.

-Danan

On Sat, 03 May 2003 02:23:35 +0200, Linus Nielsen Feltzing wrote:

> ds2list wrote:
>> Sure, it looks like this:
>>
>>
>> FILE * mp3_file = open("folder/.mymp3.mp3", 0_RDONLY);
>
> If you look at the prototype for open() you will see that it returns an
> int, not a FILE *.
>
> Linus
Received on 2003-05-03

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy