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
Jens Arnold
a238ab9df8
Iriver: Moved the handling of the UDA1380 split gain (analog preamp + decimator gain) into the UDA driver. * All: Settings structure sorted & cleaned up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9927 a1c6a512-1295-4272-9138-f99709370657
2006-05-14 23:34:24 +00:00
Linus Nielsen Feltzing
605c9674c1
Correct minimum value for TLV320 volume
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9495 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 18:26:00 +00:00
Jens Arnold
7e0ea2153c
iPod mini 2G: Define correct audio codec, and fix WM8731 driver to work with PP5020. Audio is working now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9367 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 20:18:02 +00:00
Linus Nielsen Feltzing
029ff80235
iAudio X5 doesn't have bass and treble
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9338 a1c6a512-1295-4272-9138-f99709370657
2006-03-29 08:47:04 +00:00
Linus Nielsen Feltzing
a145bf536f
Correct maximum and default volume for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9330 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:55:12 +00:00
Linus Nielsen Feltzing
a7db6e302f
First quick'n'dirty volume control for the iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9327 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:38:05 +00:00
Brandon Low
6599ff4308
Fix some math for ipod volume settings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9291 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 16:05:51 +00:00
Jens Arnold
8083e8c0de
Fixed potential sample overflow in variable stereo width > 100% and karaoke mode, both hwcodec and swcodec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9263 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 17:41:36 +00:00
Thom Johansen
473fc2ba74
Fixed line out volume for 4G, Nano and 5G Ipods. Partial patch #4814 by
...
Ralf Herz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9181 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 13:04:49 +00:00
Thom Johansen
b0960aed11
Enabled channel configuration and stereo width option on software codec
...
platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9173 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 23:20:17 +00:00
Dave Chapman
71ee68e978
iPod 5G: Correctly implement mute when setting volume
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8863 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 00:58:19 +00:00
Dave Chapman
2f76763d73
iPod 3G - initial (completely untested) attempt at audio support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8847 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 15:59:46 +00:00
Dave Chapman
9581ad39ec
iPod: Audio driver for iPod Video/5G. Rename wm8971_* functions to wmcodec_* to enable unification of the audio code for WM codecs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8676 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 13:48:08 +00:00
Hristo Kovachev
db734b41d5
Patch #1403437 by Peter D'Hoye & Martin Scarratt: Recording gain.
...
Changes:
***1. all platforms:
1.1 corrects gain display bug;
1.2 allows combined setting of stereo gain without an extra
line on the display;
2. iRiver H1xx and H3xx specific:
2.1 correctly named the decimator variables, they were
called 'gain';
2.2 splitted decimator gain settings for mic and line-in so
that they are saved separately;
2.3 added combined analog and decimator gain setting giving a
smooth gain range with the best analog/decimator gain
combination
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8627 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:08:55 +00:00
Linus Nielsen Feltzing
760fea9ac7
iAudio X5: various fixes to make the bootloader compile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 00:01:15 +00:00
Tomasz Malesinski
c31d2f84b7
Fixed warnings on iFP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8550 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:14:42 +00:00
Dave Chapman
5ffa8c52df
iPod: Initial attempt at volume/bass/treble control - more work is needed, but it seems to be working.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8495 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 21:12:31 +00:00
Jens Arnold
2993ae69b5
Simplified and uniform volume handling: * Volume setting in dB on all targets, within the 'natural' range defined by the respective DAC (limited to -100..+12 dB for archos Recorders and Ondios in order to avoid 4 chars being displayed in the status bar). 0 dB means line level on all targets. * No more artificial volume limiting for Iriver and Player, settings always represent true values. Removed the various sound scaling options. * Bumped config version so save your settings. Also make sure to adjust the volume after loading a .cfg, then save the .cfg again, otherwise the volume will be out of range (a flaw in the .cfg loader).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8197 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 23:07:07 +00:00
Anton Oleynikov
0ea71be348
set default sound scaling metric properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8146 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 14:43:54 +00:00
Anton Oleynikov
2654d91aeb
iRiver: new sound option "prevent clipping:adjust volume/adjust bass/adjust current/off"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8145 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 14:33:10 +00:00
Andy
e6e5496535
iRiver: Initial support for wav-recording in recording menu. Supports mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 04:00:56 +00:00
Dave Chapman
d31a32c501
iPod: Code cleanup - the bootloader now compiles with zero warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 17:51:35 +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
Kevin Ferrare
9b5264d37f
Corrected the bug with boolean settings (the inverted screen that couldn't be turned back to normal) added full multi-screen sound setting support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7761 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 03:18:34 +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
Christian Gmeiner
14e80671af
iAudio: First unfinished attempt for tlv320 driver and rockbox integration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
2005-08-06 10:12:19 +00:00
Jens Arnold
12a0e221de
iriver: Prescale the digital volume when boosting treble/bass by decreasing the mixer volume.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6770 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 23:33:23 +00:00
Jens Arnold
9e86521357
Fix red gmini build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6742 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 01:43:16 +00:00
Jens Arnold
4c7da88618
Iriver UDA1380 volume and balance handling is now done in sound.c, similar to archos player; removed pcm_set_volume(). Implemented a dB-linear scale. Sorted & bumped plugin api. Removed audio test from the debug menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6741 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 01:25:47 +00:00
Thom Johansen
3828c7d982
Balance support for UDA1380 based players.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6730 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 20:16:58 +00:00
Andy
3de5e74aba
uda1380: Added bass/treble and recording functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6729 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 00:04:47 +00:00
Thom Johansen
eadceed6f4
Broken code, too much crack for me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6728 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 20:09:09 +00:00
Thom Johansen
38c9d753db
Proper UDA1380 bass and treble settings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6727 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 19:56:44 +00:00
Linus Nielsen Feltzing
d6f297e89f
Killed a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6578 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:46:09 +00:00
Linus Nielsen Feltzing
1c497e6045
First audio codec playback attempt by Miikka Pekkarinen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:05:10 +00:00
Jens Arnold
b9ebe6af0a
Better pitch handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6503 a1c6a512-1295-4272-9138-f99709370657
2005-05-22 12:45:35 +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