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
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