summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio (follow)
Commit message (Collapse)AuthorAge
* More static / header file cleanup.Bertrik Sikken2008-05-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17341 a1c6a512-1295-4272-9138-f99709370657
* It's better not to use fixed constants since the lower volume limit may not ↵Michael Sevakis2008-05-03
| | | | | | be constant. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17329 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Man it's so loud in here. We have SOUND! Someone please make ↵Michael Sevakis2008-05-03
| | | | | | keymaps consistent; it's rather messy atm. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17327 a1c6a512-1295-4272-9138-f99709370657
* Don't commit LOGF_ENABLEMaurus Cuelenaere2008-05-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17322 a1c6a512-1295-4272-9138-f99709370657
* And don't forget the yellows...Maurus Cuelenaere2008-05-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17321 a1c6a512-1295-4272-9138-f99709370657
* Fix more red...Maurus Cuelenaere2008-05-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17318 a1c6a512-1295-4272-9138-f99709370657
* Made source files #include the header file that they implement to make sure ↵Bertrik Sikken2008-05-03
| | | | | | they are in sync. Made some local functions static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
* Add the Sansa M200 (v1) as a target - it's extremely similar to the Logik ↵Dave Chapman2008-05-02
| | | | | | 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
* undo some changes of my last patch... should fix wm8751 based targetsChristian Gmeiner2008-04-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17286 a1c6a512-1295-4272-9138-f99709370657
* * introduce AUDIOHW_CAPS to define which audio codec can do what kind of ↵Christian Gmeiner2008-04-28
| | | | | | | | | | | | | | 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
* add more registers for the tsc2100Jonathan Gordon2008-04-27
| | | | | | | hopefully working volume control, mute definatly works. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17259 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Implement i2c driver - transmit works but no testing of ↵Michael Sevakis2008-04-27
| | | | | | 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
* move mas35xx specific code for set_channels and set_stereo_width to ↵Christian Gmeiner2008-04-22
| | | | | | | | | 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
* Killed unnecessary global variables by making them static.Bertrik Sikken2008-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17184 a1c6a512-1295-4272-9138-f99709370657
* FS#8898 - Prefix AS3514 registers with AS3514_Bertrik Sikken2008-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17130 a1c6a512-1295-4272-9138-f99709370657
* D2: Beginnings of a WM8985 driver (based on WM8758, using EQ1 and EQ5 as HW ↵Rob Purchase2008-04-09
| | | | | | treble/bass). Untested, but harmless. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17057 a1c6a512-1295-4272-9138-f99709370657
* Do core interrupt masking in a less general fashion and save some ↵Michael Sevakis2008-03-26
| | | | | | 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
* Do some crackdown on kernel object reinitialization after they could be in ↵Michael Sevakis2008-03-12
| | | | | | 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
* Return value of audiohw_set_xxx_vol is never used and most of the time we ↵Christian Gmeiner2008-02-13
| | | | | | have a return 0; --> kick it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16300 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded ↵Michael Giacomelli2008-02-10
| | | | | | 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
* mrobe 100: (1) fix the sound volume by properly enabling headphone output, ↵Mark Arigo2008-02-06
| | | | | | (2) disable line-out since there's no connector. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16230 a1c6a512-1295-4272-9138-f99709370657
* audio on the m:robe 100 Robert Kukla2008-01-20
| | | | | | | | | - using the existing wm8751 driver (from gigabeat port) integrated into the portal player environment - only 44.1kHz at the moment - for some reason the output is very quiet - due to the lack of usable buttons the easiest (?) way to start an audio file is to copy the .playlist_control, config.cfg and nvram.bin files from another target, where auto resume is enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16117 a1c6a512-1295-4272-9138-f99709370657
* Initial Cowon D2 commit:Rob Purchase2008-01-14
| | | | | | | | * bootloader test program (basic LCD & button drivers, reads touchscreen) * work-in-progress stubs for main build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
* Revert previous commit (still learning to work with git...)Marcoen Hirschberg2007-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15904 a1c6a512-1295-4272-9138-f99709370657
* use dB units for balance controlMarcoen Hirschberg2007-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15902 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#7440. The iPod Video doesn't actually have a hardware equalizer. ↵Dan Everton2007-11-24
| | | | | | 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
* remove not used dummy codeChristian Gmeiner2007-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15763 a1c6a512-1295-4272-9138-f99709370657
* make private functions staticChristian Gmeiner2007-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15727 a1c6a512-1295-4272-9138-f99709370657
* get rid of audiohw_resetChristian Gmeiner2007-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15720 a1c6a512-1295-4272-9138-f99709370657
* replace strange charactersMarcoen Hirschberg2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15691 a1c6a512-1295-4272-9138-f99709370657
* introduce general audiohw api for recordingChristian Gmeiner2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15687 a1c6a512-1295-4272-9138-f99709370657
* H10: Touch-up the audio source switching a bit. Actually fix my earlier ↵Michael Sevakis2007-11-11
| | | | | | errors when enabling recording from Line/FM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15580 a1c6a512-1295-4272-9138-f99709370657
* FS#8046: H10 FM tuner support. Thanks to Przemyslaw Holubowski for doing ↵Barry Wardell2007-11-11
| | | | | | the hard work in figuring out how to communicate with the tuner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15578 a1c6a512-1295-4272-9138-f99709370657
* Get rid of a couple of inl/outl since we have defines. Also use some other ↵Barry Wardell2007-11-05
| | | | | | defines in place of magic values. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15470 a1c6a512-1295-4272-9138-f99709370657
* FS#8022: AS3514 missing initialisation.Barry Wardell2007-10-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15298 a1c6a512-1295-4272-9138-f99709370657
* Improved H10 ADC driver. We now do things exactly as the OF does. This ↵Barry Wardell2007-10-16
| | | | | | includes shifting the readings by 0x14 when PLL is enabled. Battery voltages and remote/scrollpad values adjusted accordingly. We also now wait for the ADC to indicate the conversion is complete before reading the data, so hopefully we will get more reliably steady readings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15141 a1c6a512-1295-4272-9138-f99709370657
* Increase step size of stereo width to 5% to avoid tediously long list in ↵Thom Johansen2007-10-09
| | | | | | 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
* Ok. Really fix redMichael Sevakis2007-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14951 a1c6a512-1295-4272-9138-f99709370657
* Split wm8731 and wm8721 drivers. wm8721 can be much simpler since it has no ↵Michael Sevakis2007-10-02
| | | | | | 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
* Changes bass setting to use adaptive bass instead of linear bass. The ↵Steve Gotthardt2007-07-13
| | | | | | | | | datasheet recommends it and it should stop clipping on bass. Steve Gotthardt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13867 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat: Audio tweak mishmash - Make sure zero crossing detection times out ↵Michael Sevakis2007-06-24
| | | | | | so the volume always gets updated. Make sure i2s is off at boot and set to proper mode before audio hardware is initialized. Make pausing pcm instant instead of waiting until the end of the current DMA transfer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13706 a1c6a512-1295-4272-9138-f99709370657
* Fixed missing semicolon in logf builds.Miika Pekkarinen2007-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13684 a1c6a512-1295-4272-9138-f99709370657
* * changed pararmeter of audiohw_mute from int to boolChristian Gmeiner2007-06-13
| | | | | | | | | | * unification of init and close NOTE: audiohw_init is a void function now, because it never (can) fail okay from JdGordon@irc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13622 a1c6a512-1295-4272-9138-f99709370657
* some little more work on audio codec driver unification - more will followChristian Gmeiner2007-06-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13620 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7178 - Sansa e200 FM tuner support by Ivan Zupan. Do the needed ↵Michael Sevakis2007-06-06
| | | | | | integration work into recording and the AS3514 audio driver. Do a little AS3514 fiq_record tweak to have it all work nicely from the start. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13573 a1c6a512-1295-4272-9138-f99709370657
* e200: Add recording. Just from MIC right now and FM integration will happen ↵Michael Sevakis2007-06-05
| | | | | | 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
* the DAC drivers need to include audiohw.h nowMarcoen Hirschberg2007-05-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13474 a1c6a512-1295-4272-9138-f99709370657
* e200: Remute the line in with #if 0 as it causes static noise for those ↵Michael Sevakis2007-05-22
| | | | | | without a radio chip. The FM radio patch should be updated to have those lines to compile. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13467 a1c6a512-1295-4272-9138-f99709370657
* fix red ipod mini'sChristian Gmeiner2007-05-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13465 a1c6a512-1295-4272-9138-f99709370657
* * move audio settings into audio codec driversChristian Gmeiner2007-05-22
| | | | | | | | * 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