Commit graph

6055 commits

Author SHA1 Message Date
Michael Sevakis
092d355c34 Kill the errors for now. Would like to know why resetting in_recording_screen from outside the function should ever be needed. If you're not in the recording screen any more, the function should have exited and reset in_recording_screen to false. If it hasn't actually been reset in that case, the function hasn't return for some reason.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12226 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 17:03:23 +00:00
Jonathan Gordon
3e16c9eb25 if you reset your settings, you wont be in the rec screen anymore!
(hopefully fix the statusbar problem for good)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12225 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 14:17:13 +00:00
Jonathan Gordon
48289a51ad Do Mike's previous patch a bit nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12224 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 06:14:35 +00:00
Michael Sevakis
946e4f871b Fix warnings. Initialized struct needs at least one member actually initialized. Add a dummy until at least one is guaranteed in all builds. Please remove it at that point.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12223 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 04:54:04 +00:00
Michael Sevakis
eed62f1657 Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 04:24:21 +00:00
Michael Sevakis
ff3bb3aa18 Don't save the in-out state of the recording screen as a setting. Fixes the statusbar icons if settings were saved while recording screen was on. Humbly may I suggest a global_state structure to do all this state checking more efficiently\? Ignore me if that's being worked on by someone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12221 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 02:48:19 +00:00
Michael Sevakis
ce89a2745c Woops. Upon examining the diffs again I find I shouldn't have deleted that one yield() from the a52 codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12219 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 01:30:05 +00:00
Michael Sevakis
aba6ca0881 Fix resampling clicking as much as possible at the moment. 1) Upsampling clicked because of size inaccuracies returned by DSP. Fix by simplifying audio system to use per-channel sample count from codec to pcm buffer. 2) Downsampling affected by 1) and was often starting passed the end of the data when not enough was available to generate an output sample. Fix by clamping input range to last sample in buffer and using the last sample value in the buffer. A perfect fix will require a double buffering scheme on the resampler to sufficient data during small data transients on both ends at all times of the down ratio on input and the up ratio on output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12218 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 00:51:50 +00:00
Tom Ross
2882b26a99 Major Rockboy update.
1) Adapt Rockboy to smaller screens (H10, X5, and iPod Nano).
2) Add the ability to use a preset palette on color targets. Choose 'Set Palette' from the main menu.
3) Clean up the code to remove any unused code and variables.
4) Changed tabs to spaces.
5) Disable reading and writing sound when sound is disabled.
6) Disbable writing to the RTC since it is not implemented yet.
7) Minor optimizations from WAC gnuboy CE and iBoy.
8) Massive clean up of code to make it appear consistent.
9) Change all C++ style comments to C style.
10) Completely reorganize dynarec. Add fixmes to all unimplemented opcodes. Add debug writes for all opcodes. Attempt to implement a few opcodes myself.
11) Silence some warnings when built using dynarec.
12) Minor reshuffling of IRAM, may or not offer a speed increase.
13) Include fixes found in the short-lived gnuboy CVS.

All in all, there's about a 10% improvement on my test roms when sound is disabled and slight improvement with sound. Especially noticable when there are few sprites on screen and less action is occurring. See FS #6567.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12216 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 21:41:08 +00:00
Nils Wallménius
28a8894656 Ifdef some remote lcd code in the recording screen that is not used for non lcd remote targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12214 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 20:30:58 +00:00
Jonathan Gordon
2f4521ea9e More HAVE_TAGCACHE by Austin Appel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12213 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 13:25:57 +00:00
Jonathan Gordon
d18a68d93b Fix FS #6624 - remove useless menu items from the context menu in an empty directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12211 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 09:01:32 +00:00
Jonathan Gordon
3d43828f53 fix FS#6621 - viewer bookmarks only working for one file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12207 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 13:29:50 +00:00
Steve Bavin
608e53d10f Remove H300 GPOODx debugging; it was using the wrong port addresses anyway
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12206 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 13:08:08 +00:00
Thom Johansen
5ba289bc27 Kill a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12204 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 01:18:29 +00:00
Thom Johansen
5f48e1590f Optimise EQ coef calculation routines for both speed and size. Move now unneeded fsqrt function to plugin fixed point library in case it'll be needed. Move all fixed point helper macros to dsp.h. Added FRACMUL_SHL macro to facilitate high-precision shifting of 64 bit multiplies and remove rounding from macsr in main thread to make this work as intended.
Tested quite thorougly, but as always, be careful with your ears.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12203 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 01:01:15 +00:00
Barry Wardell
6ce28d849d Fix Scroll Up/Down being backwards in some screens on the Sansa.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12197 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 20:53:18 +00:00
Jens Arnold
7ebb2911b8 Fixed 64 bit warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12192 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 12:35:44 +00:00
Magnus Holmgren
7c9f4e3a3a Try to fix the simulator build warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12189 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 10:24:37 +00:00
Magnus Holmgren
39bd2375fa Fix playback of mono FLAC files, so they don't play in the left channel only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12188 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 10:04:42 +00:00
Marianne Arnold
28aa1316d4 Allow longer filenames for settings files. (fixes FS #6615)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12184 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 10:52:57 +00:00
Jens Arnold
6b0fdae0f6 Removed unused 'mode' parameter from mkdir() for consistency with creat().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 10:28:55 +00:00
Dave Chapman
ae6abfb094 Bugfix: Remove use of IDATA_ATTR - plugins can not use IRAM without stopping audio playback. This fixes crashes when invadrox is started with audio playing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12182 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 09:35:19 +00:00
Jonathan Gordon
927ffda593 fmr is not a theme setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12180 a1c6a512-1295-4272-9138-f99709370657
2007-02-02 06:37:08 +00:00
Jens Arnold
67eb154146 Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Nils Wallménius
98dc093317 Comment out an unused function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12178 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 20:52:36 +00:00
Magnus Holmgren
af3b42cce2 Swedish language update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12176 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 18:45:27 +00:00
Jonathan Gordon
00547c64c6 Fix Steve's naughty commit to english.lang.. new strings go at the end!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12173 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 14:04:13 +00:00
Jonathan Gordon
f0d2861fc5 when saving config.cfg, only save settings which are not the same as
default, hopefully will give a small boost to saving and loading times.
Doing a manual save from "manage settings" > "write config" will save 
every 
setting.
Adds an option to save a cfg file from only the settings needed in a 
theme .cfg (I may have missed some so let me know).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12172 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 13:57:14 +00:00
Steve Bavin
c47172a480 FS#4770 - Oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12171 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 11:08:35 +00:00
Steve Bavin
338d94f466 FS#4770 - Add USB charging for the H300 series
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12169 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 10:47:22 +00:00
Adam Gashlin
47ddbd48d6 NES codec improvements - N106 fixed point implementation from FS #6603, removed redundant or unused tables and flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12167 a1c6a512-1295-4272-9138-f99709370657
2007-01-31 21:23:14 +00:00
Jonathan Gordon
e79ba15115 fix hardware eq settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12164 a1c6a512-1295-4272-9138-f99709370657
2007-01-31 07:12:53 +00:00
Zakk Roberts
e50cc6c369 FS #6243 - Invadrox, awesome Invaders clone by Albert Veli, supporting almost all bitmap LCD targets (but not Archos). Also resorted plugins/bitmaps/native/SOURCES (alphabetically).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12162 a1c6a512-1295-4272-9138-f99709370657
2007-01-31 00:46:32 +00:00
Magnus Holmgren
fc1efc7b13 Fix a couple of MP4 demuxing problems, preventing playback in a few cases. All my test files now play properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12161 a1c6a512-1295-4272-9138-f99709370657
2007-01-30 21:42:36 +00:00
Marcoen Hirschberg
ddc8daa7de updated and fixed Czech translation by Jakub Matoušek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12158 a1c6a512-1295-4272-9138-f99709370657
2007-01-30 13:06:59 +00:00
Marcoen Hirschberg
1d7c1c646d italian language update by Alessio Lenzi with (re)unicodification by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12156 a1c6a512-1295-4272-9138-f99709370657
2007-01-30 11:33:07 +00:00
Dan Everton
40310d8aef Fix the default cutoff for the low shelf EQ filter. Should fix the oddness people have been hearing with the equalizer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12154 a1c6a512-1295-4272-9138-f99709370657
2007-01-30 09:46:22 +00:00
Nils Wallménius
6be7727ac3 Updated Polish translation by Tomasz Mon FS# 6592
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12149 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 19:08:14 +00:00
Marcoen Hirschberg
f90542b592 remove the ASCII version of the Polish translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12146 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 15:32:50 +00:00
Jonathan Gordon
7bb8b30f8e grr! didnt see the h100 warning.. build table is too wide
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12145 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 13:58:35 +00:00
Jonathan Gordon
2062f63d66 fix recorder warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12144 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 13:44:22 +00:00
Jonathan Gordon
1382f78b7e fix build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12143 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 13:32:41 +00:00
Jonathan Gordon
41bd24e7dc Rearrange these files so they are more managable. No real code changes. Some functions/variables in these are possibly out of place and
should be considered for moving.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12142 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 13:18:57 +00:00
Jonathan Gordon
bc60af1daf fix bool settings which don't use "off,on" for their config values. Neatens up the read/write code a bit also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12141 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 12:32:56 +00:00
Jonathan Gordon
e744deb803 Accept FS#6285 by Wenbin Leo, Thanks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12139 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 03:29:23 +00:00
Jonathan Gordon
e463ddef8a Fixes the keyboard file setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12132 a1c6a512-1295-4272-9138-f99709370657
2007-01-28 08:10:28 +00:00
Tom Ross
541c2f0327 Fix Blackjack not looking correct when a backdrop is in use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12130 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 20:42:04 +00:00
Brandon Low
369b6bd367 Fix a potential voice related bug with first time buffer setup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12125 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 16:33:44 +00:00
Dave Chapman
6820ed1f7f Add the O_TRUNC flag when writing the modified file back to disk - fixes FS #6559
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12122 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 10:45:34 +00:00