Thomas Martitz
3d0cee8abb
- Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c.
...
- Refactor the program startup. main() is now in main.c like on target, and the implicit application thread will now act as our main thread (previously a separate one was created for this in thread initialization).
This is part of Rockbox as an application and is the first step to make an application port from the uisimulator. In a further step the sim bits from the sdl build will be separated out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26065 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 21:02:47 +00:00
Michael Sevakis
80d0d15ca9
Gigabeat S: Fully enable access to hardware tone controls and 3-D effect feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26051 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 13:09:45 +00:00
Michael Sevakis
cc7457e788
Fix r25970 red and yellow *and* a bug uncovered for pp5002 where pcm_play_dma_start wasn't actually initializing the dma_play_data with the first buffer info (must've happened during pp502x DMA conversion).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25971 a1c6a512-1295-4272-9138-f99709370657
2010-05-12 14:31:12 +00:00
Jeffrey Goode
054ddfd0c6
Make some internal things static, add logf line to sound.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25809 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 14:41:30 +00:00
Thomas Martitz
7eaea74f33
Fix yellows
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25720 a1c6a512-1295-4272-9138-f99709370657
2010-04-25 23:02:22 +00:00
Thomas Martitz
668bd3445e
Remove lots of simulator-speficic #ifdef'ing in sound.c to allow for DSP effects in the sims, e.g. for bass and treble (targets that do those effects in HW don't simulate using dsp).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25719 a1c6a512-1295-4272-9138-f99709370657
2010-04-25 22:54:58 +00:00
Dan Everton
72c65d7575
Commit FS#10324 from Jeffrey Goode.
...
Close the debug audio stream in the simulator when playback is stopped
to allow the file to be opened by other programs. This would mostly have
been an issue on Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21315 a1c6a512-1295-4272-9138-f99709370657
2009-06-17 07:55:50 +00:00
Michael Sevakis
e69d567d9e
Bring consistency to pcm implementation and samplerate handling. Less low-level duplication. A small test_sampr fix so it works on coldfire again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 11:01:07 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Michael Sevakis
32f8c402de
Fix some yellow that went unnoticed earlier.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15010 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 06:13:05 +00:00
Michael Sevakis
6077e5b7c8
Unify PCM interface just above the hardware driver level for all targets including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15006 a1c6a512-1295-4272-9138-f99709370657
2007-10-06 22:27:27 +00:00
Jonathan Gordon
fe142f1803
not to self: should recompile after adding comments...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14098 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 11:50:56 +00:00
Jonathan Gordon
42e42226b8
working volume control in the sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14097 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 11:41:42 +00:00
Michael Sevakis
dfeeeebee0
Fix some errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13322 a1c6a512-1295-4272-9138-f99709370657
2007-05-04 15:39:01 +00:00
Michael Sevakis
2aaf45e643
Get samplerate switching working in the sim to be similar to on target. Make all pcm functions available there as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13320 a1c6a512-1295-4272-9138-f99709370657
2007-05-04 15:14:56 +00:00
Daniel Stenberg
f6209cc959
a little extra poke to get the sim to build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13215 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 11:58:39 +00:00
Michael Sevakis
c2d2106fd7
Audio Init: Just can't stand that heirarchy. Add one level of abstraction. Might come in handy anyhow. Use sound.h instead of the conditional includes for audio hardware headers. If someone doesn't like that, yell at my evil twin. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12718 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 06:21:43 +00:00
Dan Everton
5efed097fd
Implement pcm_set_frequency in the sim. Update Doom plugin to have sound in the simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11916 a1c6a512-1295-4272-9138-f99709370657
2007-01-05 10:30:18 +00:00
Dave Chapman
ec529a1556
Add a dummy pcm_set_frequency() function for the sim. Can someone who knows SDL implement it?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11880 a1c6a512-1295-4272-9138-f99709370657
2007-01-01 14:01:08 +00:00
Thom Johansen
738a584a5c
Use correct types, which kills some AMD64 sim warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9191 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 16:04:01 +00:00
Dan Everton
5b3e3e1f2a
Fix some incorrectly declared functions in the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9080 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 22:09:34 +00:00
Jens Arnold
4bd8715449
Don't crash the simulator when the pcm callback runs out of data.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8998 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 10:22:20 +00:00
Dan Everton
581b0f1d43
Remove two unused variables and fix a warning in the sim peak meter function.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8818 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 21:42:53 +00:00
Dan Everton
e376545211
Make peak meter work in simulator for SWCODEC targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8815 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 21:13:03 +00:00
Jens Arnold
6876336fee
Fix yellow builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8796 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 00:21:44 +00:00
Dan Everton
4f54dbd91f
Better (i.e. working) sound in the SDL sim in Windows.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8793 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 22:45:10 +00:00
Dan Everton
3945218810
Proper working sound in the SDL sim. Add option to write raw audio to a file, use --debugaudio command line option.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8770 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 21:48:06 +00:00
Dan Everton
3ba0060ac1
Backlight support for 8-bit targets in SDL sim. Redo sound handling. Still doesn't work right, but is closer to how the actual Rockbox system does it. Move some stub functions in to Win32 and X11 sims to keep them compiling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8686 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 21:46:28 +00:00
Linus Nielsen Feltzing
fc72c53758
Patch #1417462 by Dan Everton - Improved SDL simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8546 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 15:19:58 +00:00
Dave Chapman
bae4e2acdd
Use SDL's thread wrappers instead of pthreads to increase portability in the SDL sim. Patch by Andrew Pilley with some changes by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8347 a1c6a512-1295-4272-9138-f99709370657
2006-01-13 13:38:31 +00:00
Daniel Stenberg
0e419987e4
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
...
simulator with the hope that once it works fine, we can remove the other two
and only have one unified simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 11:22:36 +00:00