summaryrefslogtreecommitdiff
path: root/firmware/sound.c
AgeCommit message (Collapse)Author
2006-12-06move some audio driver specific code to the correspoding filesMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11675 a1c6a512-1295-4272-9138-f99709370657
2006-12-06first step in audio driver unification: renaming the functions to audio_*Marcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11670 a1c6a512-1295-4272-9138-f99709370657
2006-11-22Sansa doesn't use a Wolfson codec. Various other changes to allow Sansa to ↵Daniel Ankers
compile correctly with a normal build. Based on FS#6336 by Pavel Gnelitsa git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11570 a1c6a512-1295-4272-9138-f99709370657
2006-10-21add support for the Wolfson WM8751Marcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11300 a1c6a512-1295-4272-9138-f99709370657
2006-08-12Iriver iFP7xx sound support.Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10552 a1c6a512-1295-4272-9138-f99709370657
2006-07-21Patch #5347 by Rani Hod - Adds FM radio and recording features to the iAudio X5.Linus Nielsen Feltzing
Also includes a rewrite of the Coldfire I2C driver to include both read and write. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10272 a1c6a512-1295-4272-9138-f99709370657
2006-05-14Iriver: Moved the handling of the UDA1380 split gain (analog preamp + ↵Jens Arnold
decimator gain) into the UDA driver. * All: Settings structure sorted & cleaned up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9927 a1c6a512-1295-4272-9138-f99709370657
2006-04-04Correct minimum value for TLV320 volumeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9495 a1c6a512-1295-4272-9138-f99709370657
2006-03-30iPod mini 2G: Define correct audio codec, and fix WM8731 driver to work with ↵Jens Arnold
PP5020. Audio is working now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9367 a1c6a512-1295-4272-9138-f99709370657
2006-03-29iAudio X5 doesn't have bass and trebleLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9338 a1c6a512-1295-4272-9138-f99709370657
2006-03-28Correct maximum and default volume for iAudio X5Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9330 a1c6a512-1295-4272-9138-f99709370657
2006-03-28First quick'n'dirty volume control for the iAudio X5Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9327 a1c6a512-1295-4272-9138-f99709370657
2006-03-27Fix some math for ipod volume settingsBrandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9291 a1c6a512-1295-4272-9138-f99709370657
2006-03-26Fixed potential sample overflow in variable stereo width > 100% and karaoke ↵Jens Arnold
mode, both hwcodec and swcodec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9263 a1c6a512-1295-4272-9138-f99709370657
2006-03-22Fixed line out volume for 4G, Nano and 5G Ipods. Partial patch #4814 byThom Johansen
Ralf Herz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9181 a1c6a512-1295-4272-9138-f99709370657
2006-03-21Enabled channel configuration and stereo width option on software codecThom Johansen
platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9173 a1c6a512-1295-4272-9138-f99709370657
2006-02-28iPod 5G: Correctly implement mute when setting volumeDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8863 a1c6a512-1295-4272-9138-f99709370657
2006-02-26iPod 3G - initial (completely untested) attempt at audio supportDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8847 a1c6a512-1295-4272-9138-f99709370657
2006-02-13iPod: Audio driver for iPod Video/5G. Rename wm8971_* functions to ↵Dave Chapman
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
2006-02-08Patch #1403437 by Peter D'Hoye & Martin Scarratt: Recording gain.Hristo Kovachev
Changes: ***1. all platforms: 1.1 corrects gain display bug; 1.2 allows combined setting of stereo gain without an extra line on the display; 2. iRiver H1xx and H3xx specific: 2.1 correctly named the decimator variables, they were called 'gain'; 2.2 splitted decimator gain settings for mic and line-in so that they are saved separately; 2.3 added combined analog and decimator gain setting giving a smooth gain range with the best analog/decimator gain combination git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8627 a1c6a512-1295-4272-9138-f99709370657
2006-02-04iAudio X5: various fixes to make the bootloader compileLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
2006-02-03Fixed warnings on iFP.Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8550 a1c6a512-1295-4272-9138-f99709370657
2006-01-30iPod: Initial attempt at volume/bass/treble control - more work is needed, ↵Dave Chapman
but it seems to be working. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8495 a1c6a512-1295-4272-9138-f99709370657
2005-12-07Simplified and uniform volume handling: * Volume setting in dB on all ↵Jens Arnold
targets, within the 'natural' range defined by the respective DAC (limited to -100..+12 dB for archos Recorders and Ondios in order to avoid 4 chars being displayed in the status bar). 0 dB means line level on all targets. * No more artificial volume limiting for Iriver and Player, settings always represent true values. Removed the various sound scaling options. * Bumped config version so save your settings. Also make sure to adjust the volume after loading a .cfg, then save the .cfg again, otherwise the volume will be out of range (a flaw in the .cfg loader). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8197 a1c6a512-1295-4272-9138-f99709370657
2005-12-04set default sound scaling metric properlyAnton Oleynikov
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8146 a1c6a512-1295-4272-9138-f99709370657
2005-12-04iRiver: new sound option "prevent clipping:adjust volume/adjust bass/adjust ↵Anton Oleynikov
current/off" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8145 a1c6a512-1295-4272-9138-f99709370657
2005-11-12iRiver: Initial support for wav-recording in recording menu. Supports ↵Andy
mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
2005-11-11iPod: Code cleanup - the bootloader now compiles with zero warningsDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-06Sound settings rework: * Put all fixed parameters (unit, decimals, step, ↵Jens Arnold
min, max, default, set function) for the individual settings into one structure array. * Use the new individual sound setting functions where appropriate. * Added dummy sound setting functions and defined the codec type for the sims. Fixes wrong sound settings ranges in the simulators. * Code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7770 a1c6a512-1295-4272-9138-f99709370657
2005-11-06Corrected the bug with boolean settings (the inverted screen that couldn't ↵Kevin Ferrare
be turned back to normal) added full multi-screen sound setting support git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7761 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-20Initial voice ui support for software codec platforms. Added also aMiika Pekkarinen
beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-06iAudio: First unfinished attempt for tlv320 driver and rockbox integrationChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
2005-06-19iriver: Prescale the digital volume when boosting treble/bass by decreasing ↵Jens Arnold
the mixer volume. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6770 a1c6a512-1295-4272-9138-f99709370657
2005-06-18Fix red gmini build.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6742 a1c6a512-1295-4272-9138-f99709370657
2005-06-18Iriver UDA1380 volume and balance handling is now done in sound.c, similar ↵Jens Arnold
to archos player; removed pcm_set_volume(). Implemented a dB-linear scale. Sorted & bumped plugin api. Removed audio test from the debug menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6741 a1c6a512-1295-4272-9138-f99709370657
2005-06-16Balance support for UDA1380 based players.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6730 a1c6a512-1295-4272-9138-f99709370657
2005-06-16uda1380: Added bass/treble and recording functionsAndy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6729 a1c6a512-1295-4272-9138-f99709370657
2005-06-15Broken code, too much crack for me.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6728 a1c6a512-1295-4272-9138-f99709370657
2005-06-15Proper UDA1380 bass and treble settings.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6727 a1c6a512-1295-4272-9138-f99709370657
2005-06-05Killed a warningLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6578 a1c6a512-1295-4272-9138-f99709370657
2005-06-05First audio codec playback attempt by Miikka PekkarinenLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-05-22Better pitch handling.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6503 a1c6a512-1295-4272-9138-f99709370657
2005-04-01Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657