summaryrefslogtreecommitdiff
path: root/firmware/export/wm8731.h (follow)
Commit message (Collapse)AuthorAge
* wm8731: document audiohw settingsAmaury Pouly2016-12-12
| | | | Change-Id: I78ec26a00a3e14a95c591ac81d96e1b480b9138e
* 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
* 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
* 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
* Have drivers merged for WM8711/21/31 since they are so similar but respect ↵Michael Sevakis2008-12-08
| | | | | | 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
* Simplify the wm8731 driver by adding a masked write function. Change ↵Michael Sevakis2008-11-24
| | | | | | _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
* 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
* Fix deemphasis control bit position.Jens Arnold2008-09-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18478 a1c6a512-1295-4272-9138-f99709370657
* Remove leftover cruft.Jens Arnold2008-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18439 a1c6a512-1295-4272-9138-f99709370657
* cleanup some audio driver headersChristian Gmeiner2008-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17924 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
* 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_postinit to audiohw.hChristian Gmeiner2008-02-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16293 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
* Oops. Correct reversed DSP mode A/B bits for WM8731/21.Michael Sevakis2007-10-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15008 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