Dave Chapman
a0f3443eab
Remove some stray ^Ms
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15605 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 22:10:36 +00:00
Michael Sevakis
7e12bba0d2
Phase in thread_wait when waiting for a thread to exit. Begin phasing out the spinlock object for general use; it will become a multicore-only object for core locking. Take care of plugins first.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15260 a1c6a512-1295-4272-9138-f99709370657
2007-10-22 05:57:38 +00:00
Michael Sevakis
9ec00d7f25
Add the thread state check into test_codec as used in mpegplayer which makes it should make it less prone to trash the codec thread after use.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15203 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 09:11:23 +00:00
Michael Sevakis
a9b2fb5ee3
Finally full multicore support for PortalPlayer 502x targets with an eye towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 01:25:17 +00:00
Michael Sevakis
d712e252fe
Get test_codec running again on PortalPlayer targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15035 a1c6a512-1295-4272-9138-f99709370657
2007-10-08 18:17:46 +00:00
Steve Bavin
4d34457cd0
Thanks to Nico_P, struct track_info can now be internal to playback.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14947 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 07:47:43 +00:00
Michael Sevakis
d7cb90722f
Get the plugins synced up with the threading changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14881 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 11:12:45 +00:00
Thom Johansen
294ec1d110
Remove the ID3 tag version priority setting on the grounds of it being pretty pointless. ID3v2 tags are superior to ID3v1 tags, and needs less seeking around to find.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14750 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 10:40:55 +00:00
Thom Johansen
c668de3085
FS #7286 . Do correct rounding of final 16 bit samples before sending to DAC, for you golden-eared people.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14514 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 14:32:52 +00:00
Nicolas Pennequin
6a92e475ac
Make get_metadata act on a struct mp3entry rather than a struct track_info.
...
This should make it easy to use a buffer handle to put the ID3 data in.
The changes in get_metadata are mostly search and replace. The only thing
it actually used to do on the struct track_info was set taginfo_ready to
true.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14326 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 11:56:13 +00:00
Nils Wallménius
68d70b35d8
Turn on backlight when test_codec speed test is finished
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13812 a1c6a512-1295-4272-9138-f99709370657
2007-07-07 13:53:29 +00:00
Dave Chapman
f01b661116
Add a "Speed test folder" option for batch testing. When this option is selected, all files in the same directory as the selected file will be tested, and the results written to a numbered log file in the root. Thanks to Jens for his screen+file logging functions I stole from test_disk.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13670 a1c6a512-1295-4272-9138-f99709370657
2007-06-19 00:25:36 +00:00
Dave Chapman
06b32fad8d
Make test_codec work in the sim again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13634 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 07:52:07 +00:00
Dave Chapman
621725a2b8
Fix compilation on the H10 - it doesn't have BUTTON_SELECT.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13484 a1c6a512-1295-4272-9138-f99709370657
2007-05-23 20:51:47 +00:00
Jonathan Gordon
b85817a5ba
Update some comments in menu.h to be hopefully more helpful.
...
Fix all the wrong usage of rb->do_menu() (my fault, sorry)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13439 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 08:26:27 +00:00
Dave Chapman
98b7229d7e
Oops, the previous commit broke the speed-test feature. This fixes it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13377 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 00:32:56 +00:00
Dave Chapman
3463e87220
Add WAV-writing option - currently limited to 16-bit output only; Make it work in the sim again (after the change to grab the codec thread stack); Some cosmetic cleanups.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13376 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 00:11:25 +00:00
Dave Chapman
198845fe91
Set svn:keywords
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13370 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 21:56:34 +00:00
Dave Chapman
4ae85e6886
Revert the addition of the steal_codec_stack function. Replace by accessing the threads structure to grab the codec stack. Maybe a better solution exists.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13349 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 23:54:10 +00:00
Dave Chapman
f4a9dab4d1
Use a separate thread in test_codec, with the same (IRAM) stack as the main codec thread. Add a function to the plugin API to steal the codec thread, which test_codec copies and then restores. Now libmad can be benchmarked.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13347 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 22:30:23 +00:00
Dave Chapman
7cdd0fe6ea
Initial version of a test_codec plugin (viewer). This loads the audio file into the audio buffer and decodes it as fast as it can via a locally implemented version of the codec API. Intended for use when optimising codecs - so isn't built by default. Remember to add it to both plugins/SOURCES and viewers.config to enable it. Currently the codec is run in the main thread which means mpa.codec doesn't work - it requires more stack than is available on the main thread. The solution will be to create a new thread in the plugin which steals the main codec thread's IRAM stack, but that's not done yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13345 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 17:23:31 +00:00