Commit graph

1174 commits

Author SHA1 Message Date
Björn Stenberg
ad9829aa68 Added simulator init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@933 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:42:23 +00:00
Björn Stenberg
874fccbbc9 Moved declarations to top
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@932 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:41:12 +00:00
Björn Stenberg
e2b92ebeed Added scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@931 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:36:54 +00:00
Linus Nielsen Feltzing
5ee0b7e9d9 mpeg_stop now calls close only if the file handle is valid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@930 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:46:12 +00:00
Linus Nielsen Feltzing
ec2ab7e85a Now stops loading from disk when mpeg_stop is called
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@929 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:42:40 +00:00
Daniel Stenberg
604cce76cf add thread functionality, powered by pthreads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@928 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:17:54 +00:00
Linus Nielsen Feltzing
b97f032464 Added leading slash to the mp3 file name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@927 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 09:02:13 +00:00
Linus Nielsen Feltzing
d044f5575f Changed prototype of playtune
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@926 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 07:58:04 +00:00
Daniel Stenberg
6229aa2e6f Added peek_next_track() proto to kill warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@925 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 06:04:31 +00:00
Linus Nielsen Feltzing
0ded2b1c18 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@924 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 15:30:37 +00:00
Linus Nielsen Feltzing
d0ecc86032 Now honors the settings in config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@923 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 15:23:19 +00:00
Linus Nielsen Feltzing
7fbdc3692d Added check for open-for-write
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@922 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 15:15:10 +00:00
Linus Nielsen Feltzing
04d6d8f14f Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@921 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 15:03:19 +00:00
Linus Nielsen Feltzing
9430a0b7d6 Added init_threads function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@920 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:56:10 +00:00
Daniel Stenberg
999c255599 include string.h to remove compiler warning on target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@919 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:52:53 +00:00
Daniel Stenberg
4ea404082d removed two compiler warnings, made the rand functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@918 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:48:06 +00:00
Linus Nielsen Feltzing
c633ceb93e Temporarily disabled mpeg code on Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@917 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:41:26 +00:00
Linus Nielsen Feltzing
5a687d0377 Changed default contrast to power-on default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@916 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:39:52 +00:00
Daniel Stenberg
7bd65ab5bd include playlist.h to get rid of warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@915 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:23:32 +00:00
Linus Nielsen Feltzing
6ecc0fa582 Killed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@914 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:19:43 +00:00
Linus Nielsen Feltzing
9ce7831193 Killed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@913 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:09:05 +00:00
Linus Nielsen Feltzing
6b918cf54d Killed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@912 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:30:36 +00:00
Linus Nielsen Feltzing
5aacc8872c Removed some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@911 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:09:44 +00:00
Daniel Stenberg
a1ca3b41b2 removed unused protos, added missing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@910 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:09:17 +00:00
Linus Nielsen Feltzing
16ff7be475 Fixed poll interval handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@909 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:00:33 +00:00
Björn Stenberg
df203f3997 Added build status classes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@908 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 12:21:38 +00:00
Björn Stenberg
4a89a6cfcf Fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@907 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 11:38:20 +00:00
Björn Stenberg
6bca292ff2 Added build status
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@906 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 11:25:51 +00:00
Björn Stenberg
e5770bf928 Removed cvs@haxx.se again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@905 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 11:14:47 +00:00
Björn Stenberg
49c46a7f7c Removed old recorder debounce code. Increased repeat speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@904 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 11:13:26 +00:00
Linus Nielsen Feltzing
7a9f95d8db Changed frequency for Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@903 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 10:29:14 +00:00
Linus Nielsen Feltzing
8b1168bc94 Wrong command address for Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@902 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 07:48:08 +00:00
Daniel Stenberg
e45a8f5f3c works with traditional sh now (as tested on Solaris)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@901 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 13:33:38 +00:00
Daniel Stenberg
82078e4a59 the truncate lcd_puts() stuff in simulator only concerns player-style LCDs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@900 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:50:34 +00:00
Daniel Stenberg
f43490a86e when doing lcd_puts() on a simulated player, we now truncate the string at
the right edge instead of wrapping down to the next line, as the target
will not behave that way!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@899 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:47:03 +00:00
Linus Nielsen Feltzing
c7e3675457 Added file read error warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@898 a1c6a512-1295-4272-9138-f99709370657
2002-06-05 14:34:05 +00:00
Björn Stenberg
0df736faae Fixed misspelling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@897 a1c6a512-1295-4272-9138-f99709370657
2002-06-05 09:33:28 +00:00
Daniel Stenberg
c9ea73e19d NOTE! the 'mp3entry' struct grew quite a bit now, as the previously static
buffers were moved into the struct instead and thus we enable the mp3info()
function to be called in a re-entrant way. Just don't allocate that struct
on the stack without careful consideration!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@896 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 22:05:00 +00:00
Daniel Stenberg
fb153c5570 output debugf() nicely for simulator builds too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@895 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 22:03:21 +00:00
Daniel Stenberg
d4c9173888 added some stupid faked random functions too, to build on target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@894 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:50:45 +00:00
Daniel Stenberg
4bf52eae14 works with playlist code, now stubs mpeg_play() to be able to show some
better debug output


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@893 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:45:51 +00:00
Daniel Stenberg
7b344f8029 whoa! make the simulator take care of the mpeg_play() function instead
of just #ifdef'ing it away


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@892 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:45:18 +00:00
Daniel Stenberg
c60d12a067 pressing play on an .m3u file will run the playlist code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@891 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:44:29 +00:00
Daniel Stenberg
4d1fb48494 Moved playlist code here from the firmware directory, also adjusted it
and edited to support the mpeg thread request-style API. Believe it or not,
but this passes my basic tests for playlist funcionality.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@890 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:43:38 +00:00
Daniel Stenberg
9c5418648f playlist stuff is not firmware, it should be in the apps code. moving it
there now


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@889 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:42:33 +00:00
Daniel Stenberg
e2f9196edf clarified and added details about the X11 simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@888 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 20:06:40 +00:00
Linus Nielsen Feltzing
0dc44b08f4 The mpeg player could miss the last byte of a song
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@887 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 14:00:30 +00:00
Linus Nielsen Feltzing
aaea587b5d Added some kernel docs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@886 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 12:48:08 +00:00
Linus Nielsen Feltzing
80f8b22357 Clarified the mutex code, renamed the NUM_TICK_TASKS macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@885 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 12:47:39 +00:00
Linus Nielsen Feltzing
150c5a7cef Moved NUM_TICK_TASKS definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@884 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 12:25:53 +00:00