Christian Gmeiner
4b07cc13f5
Fail with an error and kick suspect looking default values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17511 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:54:07 +00:00
Christian Gmeiner
785e776246
add BALANCE_CAP and CLIPPING_CAP and move some mas35xx code into audio driver mas35xx.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17489 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 06:19:16 +00:00
Michael Sevakis
5df4405317
Gigabeat S: Man it's so loud in here. We have SOUND! Someone please make keymaps consistent; it's rather messy atm.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17327 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 15:14:52 +00:00
Christian Gmeiner
a6100fb5ee
undo some changes of my last patch... should fix wm8751 based targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17286 a1c6a512-1295-4272-9138-f99709370657
2008-04-28 22:15:52 +00:00
Christian Gmeiner
8391526f79
* introduce AUDIOHW_CAPS to define which audio codec can do what kind of operations in hw, e.g. setting bass
...
* added documentation why and when we need the software based prescaler
* implement audiohw_set_bass and audiohw_set_treble for mas35xx
* clean up sound_set_bass and sound_set_treble
* simplify some #ifdef logic
* fix special handling of WM8751 - looking for tester :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17274 a1c6a512-1295-4272-9138-f99709370657
2008-04-28 08:37:18 +00:00
Jonathan Gordon
6b9b508aab
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17260 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 14:07:57 +00:00
Christian Gmeiner
b1806b2b20
move mas35xx specific code for set_channels and set_stereo_width to mas35xx.c audio codec driver. If you ask why I
...
am doing this... cleaning up sound.c and move target specific code into target tree or into audio codec drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17217 a1c6a512-1295-4272-9138-f99709370657
2008-04-22 13:43:01 +00:00
Christian Gmeiner
0738b99369
a warning is better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17215 a1c6a512-1295-4272-9138-f99709370657
2008-04-22 09:55:54 +00:00
Christian Gmeiner
365c3b90b8
move defines for VOLUME_MIN and VOLUME_MAX to their correct place (mas35xx.h)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17214 a1c6a512-1295-4272-9138-f99709370657
2008-04-22 09:42:02 +00:00
Michael Sevakis
040b6cc654
Kill warnings that annoy me when building for Gigabeat S.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17120 a1c6a512-1295-4272-9138-f99709370657
2008-04-15 14:44:32 +00:00
Rob Purchase
159f8ee41a
D2: Beginnings of a WM8985 driver (based on WM8758, using EQ1 and EQ5 as HW treble/bass). Untested, but harmless.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17057 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 22:20:04 +00:00
Rob Purchase
6fd72c750f
Introduce sanity check and extra nop to stabilise TCC780x set_cpu_frequency(). Re-enable HAVE_ADJUSTABLE_CPU_FREQ and kill a few warnings by setting HAVE_SW_TONE_CONTROLS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16904 a1c6a512-1295-4272-9138-f99709370657
2008-03-31 22:43:20 +00:00
Mark Arigo
8a7e626ec2
mrobe 100: (1) fix the sound volume by properly enabling headphone output, (2) disable line-out since there's no connector.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16230 a1c6a512-1295-4272-9138-f99709370657
2008-02-06 05:15:06 +00:00
Marcoen Hirschberg
df31f5f186
Revert previous commit (still learning to work with git...)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15904 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 11:14:28 +00:00
Marcoen Hirschberg
dcf244192b
use dB units for balance control
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15902 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 11:07:38 +00:00
Dan Everton
f666a7e8c6
Fix crash in sim when changing the MAS specific sound settings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15833 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 10:52:03 +00:00
Dan Everton
d7e1f77146
Commit FS#7440. The iPod Video doesn't actually have a hardware equalizer. It does have hardware bass/treble settings with configurable cutoff. So make the bass/treble settings use the hardware and remove the hardware equalizer configuration.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15782 a1c6a512-1295-4272-9138-f99709370657
2007-11-24 07:51:00 +00:00
Christian Gmeiner
7197d9dde7
move {bass,treble,prescale}_table from sound.c to mas35xx.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15632 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 23:32:56 +00:00
Dan Everton
04ad90706b
Fix warnings by being stricter about declaring volume min/max
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15102 a1c6a512-1295-4272-9138-f99709370657
2007-10-13 23:29:49 +00:00
Dan Everton
a537114d02
Fix broken sims by defining default volume min and max.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15101 a1c6a512-1295-4272-9138-f99709370657
2007-10-13 23:18:30 +00:00
Dan Everton
003a4a11c4
Make the volume range in the simulator match the target being simulated.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15100 a1c6a512-1295-4272-9138-f99709370657
2007-10-13 23:01:10 +00:00
Thom Johansen
8f72192fa2
Increase step size of stereo width to 5% to avoid tediously long list in settings. Reduce max limit from 255% to 250% for cosmetic reasons, value of 255% was chosen because of (very) old restrictions in settings system anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15057 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 21:29:20 +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
Michael Sevakis
c9f699432d
Fix red. Finish adding the remaining file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14950 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 08:15:47 +00:00
Michael Sevakis
15b7321fe1
Split wm8731 and wm8721 drivers. wm8721 can be much simpler since it has no recording. Provide reg bit definitions for those. Add some temporary hacks pcm-pp to prevent crashing when playing after recording. Make playback start after recording on pp5020. Get wm8731 to monitor recording but plans are to do that digitally.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14948 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 07:48:50 +00:00
Karl Kurbjun
7b97fe21c0
Beginning of an M:Robe 500i port. Currently only in the bootloader stage. Needs another piece of code to start the boot process - will be in the wiki.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14763 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 04:46:41 +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
619d2226bd
e200: Fix errors from recording addition and a warning that comes up when fixing the errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13558 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 07:22:26 +00:00
Michael Sevakis
bcb8a884ee
e200: Add recording. Just from MIC right now and FM integration will happen soon. Most every bit of weirdness is nescessary and no problems seem to exist that the retailos doesn't exhibit too (namely noise when LCD is on when recording from MIC).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13557 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 07:03:30 +00:00
Jonathan Gordon
43c299eaa1
Fix the audiohw settings stub for the sim so the rec screen doesnt crash anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13497 a1c6a512-1295-4272-9138-f99709370657
2007-05-27 04:00:56 +00:00
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
Antonius Hellmann
731d7a16c3
Increase sansa volume range at the lower end. This seems to be necessary
...
now after the audio improvement: -40.5dB ... +6dB => -73.5 ... +6dB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13447 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 19:09:15 +00:00
Michael Sevakis
3c38fe4204
Gigabeat: Separate driver for audio codec. Tweak pcm driver to comply with intended interface.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13307 a1c6a512-1295-4272-9138-f99709370657
2007-05-02 22:33:24 +00:00
Christian Gmeiner
947eb50d64
adapt some values
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13167 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 14:38:22 +00:00
Marcoen Hirschberg
9291ae50ca
simplify UDA1380 bass and treble code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13122 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 09:08:49 +00:00
Marcoen Hirschberg
91ea874c71
remove Sansa from the todo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13121 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 09:03:56 +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
Daniel Ankers
e814bb66b3
Enable balance control on Sansa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12730 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 21:57:46 +00:00
Daniel Ankers
dfad406aa1
Sound for Sansa E200 - based on work by myself, Rene Peinthor, Barry Wardell and Christian Gmeiner from the AS3514 datasheet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12727 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 17:38:08 +00:00
Thom Johansen
99b2742cd0
Use the new DSP callback functionality in firmware/sound.c to deal with SWCODEC stereo width and channel configuration instead of the old more spread out #ifdef based approach. Rename the DSP functions involved for more consistent naming.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12677 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 19:11:16 +00:00
Thom Johansen
2d7bb99c52
Hack around the lack of a hardware prescaler on a number of WM codecs. Bass and treble controls should work on DAPs using these chips now, but will be prone to distort when boosting bass. Gut out UDA1380 code(!!) and switch to high bass cutoff and low treble cutoff in WM8975 driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12673 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 15:00:29 +00:00
Jens Arnold
93712c97ee
WM8711/8721/8731 have no tone controls, so enable the software tone controls for the respective targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12499 a1c6a512-1295-4272-9138-f99709370657
2007-02-26 18:36:58 +00:00
Thom Johansen
a7fabf0741
Add software based bass/treble controls for targets which have no such functionality in hardware (currently only X5). They can also be used on any other SWCODEC target by adding #define HAVE_SW_TONE_CONTROLS in the relevant config-*.h file. Also remove some now unneeded zero checks when using get_replaygain_int(). Comments on sound quality are welcome as some parameters can still be fine-tuned.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12489 a1c6a512-1295-4272-9138-f99709370657
2007-02-26 00:41:26 +00:00
Barry Wardell
df0dc2262e
FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano).
...
* Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined.
* Fix bug in AIFF encoder header creation on little endian targets.
* Add recording screen keymaps for H10 and iPod.
* Move pcm_playback PP specific code to target tree.
* Add recording code to wmcodec drivers.
* Add pcm_record code.
Some problems still remain:
* Playback doesn't work after recording until Rockbox is restarted.
* Gain control not implemented.
* Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz.
* Line-in recording not tested on H10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 01:52:21 +00:00
Marcoen Hirschberg
1b967f41df
move some audio driver specific code to the correspoding files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11675 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 13:34:15 +00:00
Marcoen Hirschberg
77d039bab8
first step in audio driver unification: renaming the functions to audio_*
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11670 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 10:24:59 +00:00
Daniel Ankers
43e2c01065
Sansa doesn't use a Wolfson codec. Various other changes to allow Sansa to compile correctly with a normal build. Based on FS#6336 by Pavel Gnelitsa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11570 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 00:49:16 +00:00
Marcoen Hirschberg
593b552486
add support for the Wolfson WM8751
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11300 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 16:49:07 +00:00
Tomasz Malesinski
4e5f4ee5e0
Iriver iFP7xx sound support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10552 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 21:03:23 +00:00
Linus Nielsen Feltzing
ed4d7a33bd
Patch #5347 by Rani Hod - Adds FM radio and recording features to the iAudio X5.
...
Also includes a rewrite of the Coldfire I2C driver to include both read and write.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10272 a1c6a512-1295-4272-9138-f99709370657
2006-07-21 08:42:28 +00:00