summaryrefslogtreecommitdiff
path: root/firmware/export/wm8975.h (follow)
Commit message (Collapse)AuthorAge
* wm8975: document audiohw settingsAmaury Pouly2016-12-12
| | | | Change-Id: I0456f85e4ebc821c23e25026fbee3d8cf7526ee7
* Do some cleanup, adjustment and a couple fixes to recent sound changes.Michael Sevakis2013-04-22
| | | | | | | | | | | | | | | | | | | | | * SOUND_x enum can be generated by audiohw_settings.h along with settings entries and sound_val2phys. * VOLUME_MIN and VOLUME_MAX are no longer necessary within sound.c. If you need them, they are for target-defined purposes. * Fix up SDL volume implementation in sdl.c. Move sim volume calculation code to pcm-sdl.c. * Min trigger tresholds were based upon VOLUME_MIN for some reason. These setting have nothing to do with playback volume. Since it is no longer present, set these at -89dB which is the minimum peak meter sensitivity setting. * Fix an oversight in wm8758.c. I forgot to add the dB->register conversion to audiohw_set_volume. Change-Id: Ie1df33f1793eee75e6793f16bc7bddd16edb7f75
* Keep fixing 0c7b787 stuffMichael Sevakis2013-04-15
| | | | Change-Id: I0678d3307fbcad32156f9f4e0f8b90eed5a20d92
* Straighten out the mad twisted state of sound.c and related areas.Michael Sevakis2013-04-15
| | | | | | | | | | | | | | | | | | This is going right in since it's long overdue. If anything is goofed, drop me a line or just tweak it yourself if you know what's wrong. :-) Make HW/SW codec interface more uniform when emulating HW functionality on SWCODEC for functions such as "audiohw_set_pitch". The firmware-to- DSP plumbing is in firmware/drivers/audiohw-swcodec.c. "sound_XXX" APIs are all in sound.c with none in DSP code any longer. Reduce number of settings definitions needed by each codec by providing defaults for common ones like balance, channels and SW tone controls. Remove need for separate SIM code and tables and add virtual codec header for hosted targets. Change-Id: I3f23702bca054fc9bda40f49824ce681bb7f777b
* Fix FS#11973. iPod nano1G needed reboot after entering record mode to have ↵Andree Buschmann2011-03-03
| | | | | | audio again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29513 a1c6a512-1295-4272-9138-f99709370657
* Implement lineout en-/disable for WM8975 and activate it for iPod nano 2G.Andree Buschmann2010-09-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28159 a1c6a512-1295-4272-9138-f99709370657
* cleanup audiohw_set_frequency by adding it to audiohw.h and removing it from ↵Christian Gmeiner2009-01-20
| | | | | | all driver .h files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19806 a1c6a512-1295-4272-9138-f99709370657
* Bring consistency to pcm implementation and samplerate handling. Less ↵Michael Sevakis2008-12-12
| | | | | | 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
* Remove the audiohw_set_nsorder() function since it is not used, only ↵Peter D'Hoye2008-10-18
| | | | | | implemented on WM8731 and not wanted/used there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18829 a1c6a512-1295-4272-9138-f99709370657
* iPod G4, Color/Photo and Nano audio driver rework: Fix playback after ↵Jens Arnold2008-09-10
| | | | | | 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
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | 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
* * 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
* 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
* move audiohw_enable_output to audiohw.hChristian Gmeiner2008-02-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16251 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
* get rid of audiohw_resetChristian Gmeiner2007-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15720 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
* * 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
* make audiohw.h include the DAC header filesMarcoen Hirschberg2007-05-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13473 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
* move some audio driver specific code to the correspoding filesMarcoen Hirschberg2006-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11675 a1c6a512-1295-4272-9138-f99709370657
* first step in audio driver unification: renaming the functions to audio_*Marcoen Hirschberg2006-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11670 a1c6a512-1295-4272-9138-f99709370657
* Fixed line out volume for 4G, Nano and 5G Ipods. Partial patch #4814 byThom Johansen2006-03-22
| | | | | | | Ralf Herz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9181 a1c6a512-1295-4272-9138-f99709370657
* iPod: Audio driver for iPod Video/5G. Rename wm8971_* functions to ↵Dave Chapman2006-02-13
| | | | | | 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
* Some cosmetic cleaning of the wm8975 audio driverDave Chapman2006-02-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8667 a1c6a512-1295-4272-9138-f99709370657
* Oops. Reverse unintentional commit.Dave Chapman2005-12-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8265 a1c6a512-1295-4272-9138-f99709370657
* Correctly attribute Bernard Leach as the (C) holder for code taken from ↵Dave Chapman2005-12-19
| | | | | | ipodlinux. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8264 a1c6a512-1295-4272-9138-f99709370657
* iPod - Initial skeleton of an audio driverDave Chapman2005-12-16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8248 a1c6a512-1295-4272-9138-f99709370657