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
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
Bertrik Sikken
6a0340fc21
More static / header file cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17341 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 23:18:56 +00:00
Michael Sevakis
8f0a1b3e6c
It's better not to use fixed constants since the lower volume limit may not be constant.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17329 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 16:10:46 +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
Maurus Cuelenaere
1be4d42f5f
Don't commit LOGF_ENABLE
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17322 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 14:36:30 +00:00
Maurus Cuelenaere
1357099660
And don't forget the yellows...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17321 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 14:33:22 +00:00
Maurus Cuelenaere
ae0f5edd7c
Fix more red...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17318 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 14:15:41 +00:00
Bertrik Sikken
e15f8a21a9
Made source files #include the header file that they implement to make sure they are in sync. Made some local functions static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 08:35:14 +00:00
Dave Chapman
f2042983f0
Add the Sansa M200 (v1) as a target - it's extremely similar to the Logik DAX (the LCD driver worked unchanged). Plus various tcc77x work, including a working tick interrupt (enabled in the bootloader). Rockbox itself builds for the M200 (there are no keymaps yet for the DAX), but doesn't progress very far due to the lack of an ATA (NAND flash) driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17306 a1c6a512-1295-4272-9138-f99709370657
2008-05-02 19:12:09 +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
d20d9dd6e4
add more registers for the tsc2100
...
hopefully working volume control, mute definatly works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17259 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 13:43:05 +00:00
Michael Sevakis
27fac88548
Gigabeat S: Implement i2c driver - transmit works but no testing of receiving which will get a chance later. Add some seeds for codec driver. Correct a few #defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17254 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 10:30:54 +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
Bertrik Sikken
db2d61f4ea
Killed unnecessary global variables by making them static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17184 a1c6a512-1295-4272-9138-f99709370657
2008-04-20 10:24:15 +00:00
Bertrik Sikken
a24f4b7a80
FS#8898 - Prefix AS3514 registers with AS3514_
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17130 a1c6a512-1295-4272-9138-f99709370657
2008-04-15 21:33: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
Michael Sevakis
af395f4db6
Do core interrupt masking in a less general fashion and save some instructions to decrease size and speed things up a little bit. Small fix to a few places where interrupts would get enabled again where they shouldn't have been (context switching calls when disabled).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16811 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 01:50:41 +00:00
Michael Sevakis
06a5299aff
Do some crackdown on kernel object reinitialization after they could be in use and use before initialization. For c200/e200: Be sure fat cache and ata locks are acquired in the proper order during hot swapping. Delay hotswap monitoring until after initial file mounting (address 2nd kobj concern + possible call of fat driver before init).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16636 a1c6a512-1295-4272-9138-f99709370657
2008-03-12 10:03:52 +00:00
Christian Gmeiner
06971be8cd
Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16300 a1c6a512-1295-4272-9138-f99709370657
2008-02-13 11:19:23 +00:00
Michael Giacomelli
054447f9e6
Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16259 a1c6a512-1295-4272-9138-f99709370657
2008-02-10 05:39:20 +00:00