summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/audiohw-swcodec.c (follow)
Commit message (Collapse)AuthorAge
* Fix 6e211ab errors and warnings.Michael Sevakis2013-05-23
| | | | | | | If target has HW tone controls but no HW prescaler (non-implemented or non-existent), audiohw_set_prescaler() should, for now, do nothing. Change-Id: If1b1a36970dca82fda1c350fbaa4d6ce068a6d32
* Remove dsp_callback because DSP is now library code, not app code.Michael Sevakis2013-05-23
| | | | | | Yep, nope, not necessary anymore. Just call functions directly. Change-Id: I21dc35f8d674c2a9c8379b7cebd5613c1f05b5eb
* Fix FS#12859 - Bass/Treble not doing anything in new buildsMichael Sevakis2013-05-04
| | | | | | | | | Just one more SNAFU after redoing sound.c. Software bass/treble controls in the DSP expect .1 dB gain increments but the gains were being set as 1 dB increments because that's what the AUDIOHW_SETTING specifies. Just x10 the gains given to audiohw_set_bass/treble. Change-Id: Id5296f93908ec0036a5605d3a60a2cb5eec91bb5
* 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