Christian Gmeiner
cdbf33adf7
* move audio settings into audio codec drivers
...
* add mas35xx driver for all mas35xx targets. Later
mas35xx code from sound.c will move to this new driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13464 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 15:56:05 +00:00
Jens Arnold
8636e6949e
Moved SH1 system code to target tree. * First shot at hwcompat cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 23:51:00 +00:00
Michael Sevakis
68f9e1ad57
Guess there were more changes to it.:) Odd that mine built until a make clean.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12694 a1c6a512-1295-4272-9138-f99709370657
2007-03-09 12:51:25 +00:00
Hardeep Sidhu
b8d1a55fbd
Properly set audio_is_initialized flag for swcodec devices ad use it when initializing crossfade. This should fix the problems with resuming playback at startup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9853 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 18:18:54 +00:00
Jens Arnold
a7c20ac760
Replaced remaining '#pragma interrupt' with __attribute__((interrupt_handler)). It's cleaner this way, and fixes sh-elf-gcc 3.4.x builds with -Os or -O2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9816 a1c6a512-1295-4272-9138-f99709370657
2006-04-26 20:22:27 +00:00
Jens Arnold
96dce1d3b7
SH targets: Protect against a gcc 3.3.x bug triggered by -O2 or -Os, in preparation for switching to -Os. Workaround could be removed again for gcc 3.4.x.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9809 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 22:40:55 +00:00
Brandon Low
f3bc1efc49
First commit of reworking voice to be mroe stable on swcodec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9758 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 14:40:13 +00:00
Jens Arnold
8051a0b724
Sound settings rework: * Put all fixed parameters (unit, decimals, step, min, max, default, set function) for the individual settings into one structure array. * Use the new individual sound setting functions where appropriate. * Added dummy sound setting functions and defined the codec type for the sims. Fixes wrong sound settings ranges in the simulators. * Code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7770 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:12:11 +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
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
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
Miika Pekkarinen
bd1131e748
Implemented mp3_pause_done() for software codecs to make wps correctly
...
wait for pause to complete when fading the volume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7205 a1c6a512-1295-4272-9138-f99709370657
2005-07-20 01:58:27 +00:00
Jens Arnold
182696d1c0
Removed unnecessary code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6555 a1c6a512-1295-4272-9138-f99709370657
2005-06-03 20:40:43 +00:00
Jens Arnold
6b16d0e817
Fix simulator and iriver builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6464 a1c6a512-1295-4272-9138-f99709370657
2005-05-13 00:53:33 +00:00
Jens Arnold
03d08ecc25
(1) Wait for the MAS to run out of buffered data on fade out. Fixes bug #778930/#1189756. (2) Fade in/out from/to zero. (3) Always fade in 30 steps, independent of the global volume.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6463 a1c6a512-1295-4272-9138-f99709370657
2005-05-13 00:16:14 +00:00
Jens Arnold
a552ec298e
Unused variable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6414 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:58:22 +00:00
Linus Nielsen Feltzing
674eaca5ef
Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Jens Arnold
59eb461f82
Player: volume/balance/treble/bass handling improved. (1) Linear mapping of percent to dB for volume, like on all other units. (2) Bug fix: Limit the prescale compensation to +18 dB final volume. (3) Architectural fix: app code doesn't need to additionally set volume in order to activate a changed balance setting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5817 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 13:47:21 +00:00
Daniel Stenberg
c3ab85cbfb
repair the iriver sim build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5764 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 21:47:38 +00:00
Daniel Stenberg
e81fb19dfc
less warnings on iriver builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5761 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 10:07:11 +00:00
Daniel Stenberg
ac5fbf3e48
provide a range of dummies to build on iriver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5751 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:59:54 +00:00
Jens Arnold
76b257fd40
New channel configuration setting, allowing fine-grained control of the stereo width. This replaces the 'stereo narrow' and 'stereo wide' modes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5559 a1c6a512-1295-4272-9138-f99709370657
2005-01-12 00:24:15 +00:00
Jens Arnold
e1a1926f46
Use the register shadow variable in all places.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5539 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 00:58:59 +00:00
Jens Arnold
dbd11c9b42
The player also has MAS poweron reset, handle it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5456 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 01:54:26 +00:00
Jens Arnold
6fde243d52
Player: Slightly shorter MAS poll interval fixes playback of 384 kbps 48 kHz layer 2 files. Others: Correct serial bitrate allows increasing the postpone_dma_tick delay a bit without disturbing playback of same files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5387 a1c6a512-1295-4272-9138-f99709370657
2004-11-07 08:09:08 +00:00
Jens Arnold
8366394933
Set the MAS serial bitrate to 1 MBit/s as intended. Fixed comment on frequency.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5384 a1c6a512-1295-4272-9138-f99709370657
2004-11-06 00:54:56 +00:00
Jens Arnold
1acc38f9d9
Disabled S/PDIF out for models where S/PDIF output is not physically available. Should reduce possible interference. If you have modded your FM/V2 to have such an output, define HAVE_SPDIF_OUT in the corresponding config-xxx.h file to re-enable it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5253 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 22:53:49 +00:00
Linus Nielsen Feltzing
0e0ccab138
Oops, I meant to disable SDO
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5180 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 21:51:09 +00:00
Linus Nielsen Feltzing
2506e7d9bc
Increased strength on S/PDIF outputs, fixes bug #770355
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5179 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 20:07:02 +00:00
Jens Arnold
4f8d3482c6
Fix: MAS SIBI control now is output as intended
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5152 a1c6a512-1295-4272-9138-f99709370657
2004-10-02 21:53:21 +00:00
Jens Arnold
65bee608f6
Fixed a typo which lead to non-initialized MAS on Ondio SP
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5144 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 18:47:19 +00:00
Jörg Hohensohn
1e570da280
Ondio config cleanup, SIBI support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5139 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 07:36:25 +00:00
Jens Arnold
eaa1f73c6d
Added MAS3539F support (Ondio SP)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 19:51:41 +00:00
Jörg Hohensohn
593cc00447
a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Linus Nielsen Feltzing
7025d835c8
Now the Player balance setting works again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5071 a1c6a512-1295-4272-9138-f99709370657
2004-09-13 08:12:15 +00:00
Jens Arnold
c76c568b35
Const policed pointer arguments to functions, part 1
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-16 23:37:23 +00:00
Jens Arnold
536dff1a27
Corrected MAS version checks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4989 a1c6a512-1295-4272-9138-f99709370657
2004-08-05 17:06:31 +00:00
Jens Arnold
9478cc6f8a
More const policeing step 4
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 19:22:56 +00:00
Linus Nielsen Feltzing
7a567fd11c
Balance is now set in 1% steps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4968 a1c6a512-1295-4272-9138-f99709370657
2004-07-27 22:27:59 +00:00
Linus Nielsen Feltzing
5b5003dcb1
New feature: clean shutdown if you press OFF twice in the file browser, or select "Shut
...
off" in the main menu. Players only have the menu option, due to lack of keys.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4940 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 21:26:41 +00:00
Jens Arnold
d0bb88a766
Const'ed the various setting lookup tables
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4904 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 22:13:24 +00:00
Linus Nielsen Feltzing
246391de2c
Now uses shadow_7f1 correctly, so the pitch works again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4883 a1c6a512-1295-4272-9138-f99709370657
2004-07-15 05:08:55 +00:00
Linus Nielsen Feltzing
7bade1a24f
Bass boost removed in favour of some new sound settings: Super bass and five new MDB parameters: strength, harmonics, center, shape and enable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4839 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 12:17:14 +00:00
Linus Nielsen Feltzing
94da3b5f1d
Added the (practically useless) 20ms option to the Auto Volume setting, for completeness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4793 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 12:37:42 +00:00
Linus Nielsen Feltzing
3db9c83364
Simplified the settings code by removing the phys2val conversions. This has the side effect of increasing the resolution for the balance setting from 2% steps to 1% steps, and bass boost from 10% steps to 1% steps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4782 a1c6a512-1295-4272-9138-f99709370657
2004-06-21 13:42:37 +00:00
Linus Nielsen Feltzing
e4eb2c51e3
removed dead code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4735 a1c6a512-1295-4272-9138-f99709370657
2004-06-11 10:17:43 +00:00
Linus Nielsen Feltzing
846e8e91f2
mpeg_set_pitch now uses the 7f1 shadow register
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4734 a1c6a512-1295-4272-9138-f99709370657
2004-06-11 10:16:18 +00:00
Linus Nielsen Feltzing
a018cb56c9
Patch #929680 by Jens Arnold, fixes bug #929680 by reducing the postpone_dma_tick delay
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4467 a1c6a512-1295-4272-9138-f99709370657
2004-04-05 21:50:07 +00:00
Jörg Hohensohn
590e6af888
First try to get a better transition from a cancelled clip to a new one, by maintaining the frame sync. Doesn't seem to have much effect, though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4425 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 17:45:45 +00:00
Linus Nielsen Feltzing
111a972b65
Made set_irq_level() an inline function, and optimized it by removing the bit shifts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 11:32:59 +00:00