Jens Arnold
48be8e6a8b
X11 simulator: * Correctly redraw the window when it was destroyed by overlaying (X11 'Expose' event). * Simplified, corrected and unified redraw algorithm for main & remote bitmap display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7655 a1c6a512-1295-4272-9138-f99709370657
2005-10-23 23:49:46 +00:00
Jens Arnold
fc03c8e3c9
X11 simulator: Fixed margins and scaling (window zoom) for all simulated targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7654 a1c6a512-1295-4272-9138-f99709370657
2005-10-23 13:06:25 +00:00
Linus Nielsen Feltzing
51484e7d60
Properly stop the audio in the win32 simulated playback
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7492 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 06:42:05 +00:00
Jens Arnold
d6c054575b
Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Linus Nielsen Feltzing
a81f4c35c1
Sim build fix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7373 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 19:56:49 +00:00
Miika Pekkarinen
159c52dd36
Initial voice ui support for software codec platforms. Added also a
...
beep when changing tracks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 11:13:19 +00:00
Jens Arnold
6e4f07b508
This code wasn't used at all.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7358 a1c6a512-1295-4272-9138-f99709370657
2005-08-19 20:01:15 +00:00
Linus Nielsen Feltzing
1d28240330
Enlarged the buffer for DEBUGF()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7333 a1c6a512-1295-4272-9138-f99709370657
2005-08-16 08:32:43 +00:00
Linus Nielsen Feltzing
d3fde76fc7
FM radio simulation working again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7332 a1c6a512-1295-4272-9138-f99709370657
2005-08-16 06:50:25 +00:00
Stepan Moskovchenko
2be160af31
Woah, that was not supposed to happen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7289 a1c6a512-1295-4272-9138-f99709370657
2005-08-07 22:26:42 +00:00
Stepan Moskovchenko
fb3e9a4073
Fix error/warning, change pitch bend to 9 bits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7288 a1c6a512-1295-4272-9138-f99709370657
2005-08-07 22:20:40 +00:00
Miika Pekkarinen
e9c0e83154
Fixed the simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7219 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 06:44:47 +00:00
Miika Pekkarinen
eab434c416
More accurate playback position calculation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7218 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 06:32:55 +00:00
Miika Pekkarinen
3b6a9f3bad
Fixed the simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7212 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 12:25:30 +00:00
Miika Pekkarinen
f090dc3829
Crossfade (and pcm buffer size) length is now configurable.
...
Implemented anti-skip buffer setting for iriver also. Settings block
bumped up, PLEASE SAVE YOUR SETTINGS BEFORE UPGRADING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7210 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 11:44:00 +00:00
Jens Arnold
4bee507502
Check the correct thread handle.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7209 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 10:19:50 +00:00
Magnus Holmgren
568430421b
Don't hog the CPU, but keep sound playback working. (This might need some tweaking...)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7206 a1c6a512-1295-4272-9138-f99709370657
2005-07-20 16:52:52 +00:00
Magnus Holmgren
2f9bb4ff27
Sound playback for the Win32 simulator, based on WaveOut. Not yet enabled by default (edit autoconf.h).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7203 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 21:24:32 +00:00
Magnus Holmgren
d315dfb5b1
Made Win32 thread management similar to the X11 one (previously yield() could make a thread stop, seemingly forever).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7202 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 20:43:21 +00:00
Magnus Holmgren
30b8378b68
Win32 needs the mode bits for open too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7200 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 18:18:37 +00:00
Daniel Stenberg
741a7158e2
check for/use sys/soundcard.h instead (since it works for cygwin too)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7162 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 21:12:18 +00:00
Miika Pekkarinen
05012ac9f7
Enable crossfade for simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7151 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 07:15:39 +00:00
Jens Arnold
c19773c2b4
Win32 sim: better bitmap initialisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7148 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 22:15:10 +00:00
Daniel Stenberg
febb52fc03
First take at PCM playback in the X11 sim on Linux.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7147 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 21:46:07 +00:00
Daniel Stenberg
1c47599312
brought back drawdots() and drawrectangles() since the player sim needs them
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7138 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 10:35:26 +00:00
Daniel Stenberg
9872813c7d
introducing H1x0 style grayscale support in the X11 sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7137 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 10:02:04 +00:00
Jens Arnold
d36567d370
Win32 simulators: Fixed button repeat handling when releasing buttons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7134 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 20:04:43 +00:00
Miika Pekkarinen
20b3897474
Separated buffering stuff from pcm_playback to pcmbuf. Renamed some
...
function calls (audiobuffer -> pcmbuf etc.).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 12:48:22 +00:00
Linus Nielsen Feltzing
a19acbdadd
Removed picky warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7116 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 10:05:13 +00:00
Miika Pekkarinen
645a2e16ed
Fixed a simulator crash while trying to play a song. Fixed crossfade
...
when selecting a new track to play. Most likely fixed a bug which
caused playback to stop on track change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7094 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 16:33:03 +00:00
Jens Arnold
a5ef8f0c6f
Simulator fixes: H120 Win32 simulator build working. H120 X11 simulator uses correct LCD background colour.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7075 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 19:26:17 +00:00
Jens Arnold
c28969d11f
Remote LCD support for the Win32 H1x0 simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7061 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 01:41:12 +00:00
Jens Arnold
f894a4c269
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Jens Arnold
934941294b
Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
bd2bfe9993
Fix bug #1174245 : Win32 simulator didn't keep track of pressed keys properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6852 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 09:19:45 +00:00
Daniel Stenberg
f77547c147
make it build fine for H300 (keypads) as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6761 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 22:09:48 +00:00
Jens Arnold
22c15b78c8
Simulator stub for remote lcd flip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6740 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 22:03:56 +00:00
Dave Chapman
55afc7c2e8
Rename UI-v2.bmp to UI-recorderv2.bmp (Rec v2 win32 sim now builds)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6736 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 08:16:48 +00:00
Jens Arnold
c3b1eceff1
Added dummy function and simulator stub.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6537 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 06:42:14 +00:00
Jens Arnold
58d7d69a66
No second (explicit) call to build libcomsim.a
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6515 a1c6a512-1295-4272-9138-f99709370657
2005-05-24 05:33:33 +00:00
Daniel Stenberg
ac31e6af87
Remote LCD support added to the x11 simulator, take 1. The win32 simulator
...
still builds, but shows no remote LCD yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6510 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 16:23:25 +00:00
Jens Arnold
441e512190
Simplification.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6456 a1c6a512-1295-4272-9138-f99709370657
2005-05-11 20:04:43 +00:00
Daniel Stenberg
b8a23f9e49
Fixed makefiles for autoconf.g include.
...
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +00:00
Linus Nielsen Feltzing
8a237a829e
More audio code restructuring, mostly renaming functions so far
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Jens Arnold
3b8dcf5ebb
X11 simulator: Always restore the x11 button autorepeat setting, regardless at which point exit() is called.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6216 a1c6a512-1295-4272-9138-f99709370657
2005-03-19 00:46:42 +00:00
Jens Arnold
74b731edc6
Major rework of the x11 simulator button handling. (1) Button repeat should always work correctly now, not sending a release before the repeat(s). Fixes e.g. calling the Ondio menu. (2) Button handling is done in the timer thread, not sleep()ing the main thread for extended times. Fixes slow performance of high-workload plugins (codec tests). (3) The x11 simulator now also contains the queue handling code. (4) The new code requires X11R6 because the multi-threading extension is used.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6215 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 23:51:52 +00:00
Jens Arnold
31b28f523a
Extensive code policing (indentation levels, tab characters).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6199 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 00:03:22 +00:00
Daniel Stenberg
2dddde253f
remove extra kludge we used to kill warnings on very old mingw cross-compile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6178 a1c6a512-1295-4272-9138-f99709370657
2005-03-09 23:54:16 +00:00
Jens Arnold
bb9dfa0b02
Simulators: more efficient implementation of sim_filesize().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6175 a1c6a512-1295-4272-9138-f99709370657
2005-03-09 19:26:59 +00:00
Daniel Stenberg
db44dadcab
attempt to kill two annoying win32 cross-compiler warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6169 a1c6a512-1295-4272-9138-f99709370657
2005-03-08 22:37:15 +00:00