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



Rockbox mail archive

Subject: How to circumvent repeat mode?
From: ds2list (ds2list_at_yahoo.com)
Date: 2003-05-03


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



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa