Bertrik Sikken
ea7f143096
FS#9611 - Sansa Clip radio code. Commit final part which enables the LINE2 input that carries the analog radio signal on ams sansas.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19927 a1c6a512-1295-4272-9138-f99709370657
2009-02-05 19:57:18 +00:00
Michael Sevakis
dba556f33f
AS3514: Simplify as there isn't a need to track the current source and sync mixer levels. Gang them when adjusting volume. Any inputs not currently in use will be muted or off anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19713 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 04:21:24 +00:00
Michael Sevakis
2e99b3d931
Gigabeat S: Allow recording from FM. Give FM the same volume range as playback. NOTE: This bumps the si4700 output volume to -0dB so other players with that may need a minor adjustment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19619 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 01:38:44 +00:00
Nils Wallménius
9711b1e2e3
Gigabeat S, use saner input volume on the line in used for fm to have fm volume at similar volume as playback. Add a few comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19602 a1c6a512-1295-4272-9138-f99709370657
2008-12-27 22:56:29 +00:00
Bertrik Sikken
2d0a045909
Enable as3514 HPCM codec setting for all AMS3525 targets (and disable it for others).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19460 a1c6a512-1295-4272-9138-f99709370657
2008-12-16 22:16:55 +00:00
Vitja Makarov
b32c05b116
Fix compilation error when no HW freq defined
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19459 a1c6a512-1295-4272-9138-f99709370657
2008-12-16 20:26:25 +00:00
Michael Sevakis
bdf3004f96
CLOCKING register should be set on hardware init.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19410 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 23:03:30 +00:00
Bertrik Sikken
7d354c5d34
FS#9625, keep HPCM codec setting (headphone common mode) enabled for E200V2 too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19407 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 21:18:47 +00:00
Michael Sevakis
4bbaef6fd5
Fix-m the ruddiness.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19401 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 11:20:58 +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
Mark Arigo
f2dc7139b9
Fix the sound level on the Philips HDD1630
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19396 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 04:59:06 +00:00
Nils Wallménius
65f61d6cce
FS#9609 FM radio support for the Gigabeat S, seeking/scanning is not yet
...
implemented but manual tuning works nicely. Thanks to Rafaël Carré,
Bertrik Sikken and Robert Menes for suggestions and debugging help.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19372 a1c6a512-1295-4272-9138-f99709370657
2008-12-09 20:48:04 +00:00
Michael Sevakis
ea929a3e45
Have drivers merged for WM8711/21/31 since they are so similar but respect all register differences between codecs. Change minis to #define the actual codec type. If anything breaks check if OSCPD and CLKOUTPD need to be clear for the target- H10 is fine. A nice naming convention suggestion for WM codec multidrivers would be welcome rather than naming for a specific chip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19367 a1c6a512-1295-4272-9138-f99709370657
2008-12-08 21:09:56 +00:00
Michael Sevakis
89da4328a0
Meg F/X can beep and click using a hardware timer so let us try it out. To match things up better, fix PCM beeping to give correct frequency (and get a pointer wrap bug too). Do some minor adjustments to compensate for corrections.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19355 a1c6a512-1295-4272-9138-f99709370657
2008-12-07 00:07:47 +00:00
Bertrik Sikken
75da103c52
Keep codec HPCM (headphone common mode) enabled for Sansa Clip and Sansa m200v4 so the headphone output produces stereo instead of an L-R signal.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19340 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 22:03:37 +00:00
Michael Sevakis
888c3477bb
Fix yellow and red. Maybe create some new.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19231 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 14:52:31 +00:00
Michael Sevakis
888451fb0f
Get rid of remaining audiohw_enable_output style codec setup and use pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19228 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 14:25:45 +00:00
Michael Sevakis
756bcc4bd5
Fix misspelled function name. Thanks to Jens Arnold for noticing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19220 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 05:46:33 +00:00
Michael Sevakis
3511d94031
Add register bit defines for as3514 and clean stuff up. Reduce poppiness at startup and shutdown (and even powerup for e200). Really, I can't honestly say it will help anything but an e200v1 but I'm sick of the noises. ;)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19214 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 16:16:06 +00:00
Michael Sevakis
7bf4e7bda7
Simplify the wm8731 driver by adding a masked write function. Change _write_or/and to _set/clear. Reduce init sequence by initializing shadows to hardware defaults.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19197 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 15:26:39 +00:00
Michael Sevakis
5dfde5c80b
Gigabeat S samplerate control: Fix really dumb mistake made when doing cleanup. Add some more correctness.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19180 a1c6a512-1295-4272-9138-f99709370657
2008-11-22 14:39:42 +00:00
Michael Sevakis
5dec3b34aa
Oops. Used wrong constant.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19179 a1c6a512-1295-4272-9138-f99709370657
2008-11-22 12:23:31 +00:00
Michael Sevakis
7c007f5d87
Audio samplerate control for Gigabeat S: 8, 11.025, 12, 16, 22.050, 24, 32, 44.1 and 48 kHz.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19178 a1c6a512-1295-4272-9138-f99709370657
2008-11-22 12:17:26 +00:00
Michael Sevakis
20477d024e
Gigabeat S: Fix PCM being cut off at the beginning. The DAC L-R swapping isn't needed now either. Fixes voice clips on the Gigabeat S.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19141 a1c6a512-1295-4272-9138-f99709370657
2008-11-19 03:12:34 +00:00
Michael Sevakis
db5965ff9e
Gigabeat S/WM8978: Fix problem of volume getting silenced after settings are applied. There still seems to be a problem of cutting of voice samples from the beggining of clips when music isn't playing-- next to be investigated.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19109 a1c6a512-1295-4272-9138-f99709370657
2008-11-15 23:48:19 +00:00
Karl Kurbjun
59d4d2025c
Revert last commit (accidentally committed the whole tree)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19095 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 04:15:34 +00:00
Karl Kurbjun
d42041043b
Add in the needed crt0.S code for the wakeup alarm also
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19094 a1c6a512-1295-4272-9138-f99709370657
2008-11-12 03:57:32 +00:00
Dave Chapman
42f77d4eb0
Abstract the PortalPlayer AS3514 handling with an "ascodec" API - inspired by the wmcodec API used with the Wolfson codecs. The intention is to implement this API for the AS3525 and then share code with the Sansa V2 ports.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18940 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 00:16:42 +00:00
Peter D'Hoye
695c39bc9c
Remove the audiohw_set_nsorder() function since it is not used, only implemented on WM8731 and not wanted/used there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18829 a1c6a512-1295-4272-9138-f99709370657
2008-10-18 22:37:41 +00:00
Peter D'Hoye
d8b2645a64
Accept FS #9496 by Przemysław Hołubowski: disable deemphasis in WM8731. This fixes FS #9489 (nonlinear frequency response). Verified on H10-5gb
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18826 a1c6a512-1295-4272-9138-f99709370657
2008-10-18 21:57:43 +00:00
Peter D'Hoye
f60c1ae050
More samplerates for playback for ipod 1g/2g, and fix the ipod mini 1g/2g which also use WM8721.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18669 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 21:41:38 +00:00
Peter D'Hoye
b297eb9d9d
Codepolice: the patch I accepted contained some tabs. Oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18668 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 20:50:26 +00:00
Peter D'Hoye
11ef4ce1f9
Accept FS #9394 by Christian Lees and extend it to all PP targets with a WM8731: More samplerates for playback and recording. Only tested on H10 but should work on the others too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18662 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 23:25:07 +00:00
Bertrik Sikken
f13184e472
Fix some more #includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18522 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 19:50:55 +00:00
Jens Arnold
6938083e4f
iPod Video: Fix playback after recording (FS #7402 ). Implement recording gain adjustment. * Enable timeout for zero-crossing detection (SLOWCLK), avoids hanging volume/ gain due to DC offsets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18509 a1c6a512-1295-4272-9138-f99709370657
2008-09-13 19:34:16 +00:00
Jens Arnold
3656382f7d
iPod G4, Color/Photo and Nano audio driver rework: Fix playback after recording (FS #7402 ). Implement recording gain adjustment. * Fix slightly off Bass/Treble scale.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18490 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 23:50:26 +00:00
Jens Arnold
b6058de5f9
Remove leftover cruft.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18439 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 18:00:00 +00:00
Dave Chapman
d462a64a91
Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18435 a1c6a512-1295-4272-9138-f99709370657
2008-09-06 17:50:59 +00:00
Peter D'Hoye
631d947749
The high pass filter setting of the WM8731 seems to work the other way around. Disabling it removes the DC offset. This fixes FS #9248
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18294 a1c6a512-1295-4272-9138-f99709370657
2008-08-15 23:35:48 +00:00
Bertrik Sikken
a12894c6dc
Ensure consistency between header file and implementation for iPod drivers, by #including the appropriate header file and #ifdef'fing out unused code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18066 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 11:02:14 +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
Rob Purchase
d6159ea7d7
Initial D2 sound playback support (known issues to follow on the CowonD2Info wiki page).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17753 a1c6a512-1295-4272-9138-f99709370657
2008-06-22 18:48:22 +00:00
Peter D'Hoye
825d89fe28
Accept FS #9021 by James Vasile and apply the fix to the other drivers that have the same issue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17630 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 21:19:07 +00:00
Mark Arigo
b4275d4941
Philips GoGear SA9200 port. Working bootloader and normal builds, including sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:55:17 +00:00
Jonathan Gordon
5716f734dd
remove a stupid infinite loop which stopped the mr500 booting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17570 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 13:48:29 +00:00
Christian Gmeiner
2ea6da1ebf
fix some problems with missing HAVE_RECORDING checks #2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17545 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:51:56 +00:00
Christian Gmeiner
56fceacfeb
fix some problems with missing HAVE_RECORDING checks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17544 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 20:40:59 +00:00
Christian Gmeiner
05e8488ad8
Introduce PRESCALER_CAP and move some driver specific code to the correct place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17516 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 21:35:19 +00:00
Maurus Cuelenaere
e031db4b87
1) Use a separate config-<target>.h for Zen Vision(:M) (60GB)
...
2) Other unrelated cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17503 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 18:55:19 +00:00
Michael Sevakis
403abb94bc
Add svn:kewords and svn:eol-style properties. Fix a comment in as3514.c.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17500 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:39:24 +00:00