summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/uda1380.c (follow)
Commit message (Collapse)AuthorAge
* optimize WSPLL work for iriver h100 and h300 seriesDmitry Gamza2014-09-05
| | | | | | | | | | For Iriver h100 & h300 series we don't need always use WSPLL, because in most cases WSPLL clock and SYSCLK has the same value, and we have additional WSPLL errors to the output clock. Now that is fixed. Change-Id: I04aebee659c57c45dc8603e409b9db42bdde534a Reviewed-on: http://gerrit.rockbox.org/434 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* some optimization for iriver h100 and h300 seriesDmitry Gamza2014-03-18
| | | | | | | | | | | | Turn on 4x oversampling inside UDA1380 codec. This allow will move the quantization noise to the higher frequencies, that slightly improve the final sound quality. Change-Id: Idf79cd877c526d8937a47c34e9c180d837a15db1 Reviewed-on: http://gerrit.rockbox.org/435 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com> Reviewed-by: Björn Stenberg <bjorn@haxx.se>
* Add missing kernel.h includes (hopefully all of them).Thomas Martitz2014-01-05
| | | | Change-Id: I9c1825296a788587b8d494d8514b3314847b0ff0
* 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
* More minor const/static/include fixes.Bertrik Sikken2010-08-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27652 a1c6a512-1295-4272-9138-f99709370657
* Remove pcm_mute() which has been unused since r19308Rafaël Carré2010-04-27
| | | | | | | Remove audiohw_mute from header as well, and make this function static to each driver (commented out when it was unused) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25733 a1c6a512-1295-4272-9138-f99709370657
* Update the uda1380 codec driver to allow it to be used without the WSPLL for ↵Bertrik Sikken2009-07-19
| | | | | | playback and allow the use of a 256Fs clock signal directly at the SYSCLK input instead. This is required for the Meizus. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21975 a1c6a512-1295-4272-9138-f99709370657
* Create an udacodec interface (similar to ascodec and wmcoded) and ↵Bertrik Sikken2009-06-28
| | | | | | adapt/implement it for the iriver h1xx/h3xx and the meizus. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21546 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
* Get rid of remaining audiohw_enable_output style codec setup and use ↵Michael Sevakis2008-11-26
| | | | | | pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19228 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
* Accept FS #9021 by James Vasile and apply the fix to the other drivers that ↵Peter D'Hoye2008-05-25
| | | | | | have the same issue. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17630 a1c6a512-1295-4272-9138-f99709370657
* Introduce PRESCALER_CAP and move some driver specific code to the correct place.Christian Gmeiner2008-05-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17516 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
* 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
* 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
* 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
* introduce general audiohw api for recordingChristian Gmeiner2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15687 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
* 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
* 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
* * 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
* exclude unused headersChristian Gmeiner2007-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13453 a1c6a512-1295-4272-9138-f99709370657
* move audio drivers together into a subdirMarcoen Hirschberg2007-04-19
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13209 a1c6a512-1295-4272-9138-f99709370657