Commit graph

91 commits

Author SHA1 Message Date
Jens Arnold
2993ae69b5 Simplified and uniform volume handling: * Volume setting in dB on all 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-07 23:07:07 +00:00
Daniel Stenberg
f981ea93fb kill gcc4 warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +00:00
Marcoen Hirschberg
5c3546ccbb moved crossfeed from the Playback menu to Sound Settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8161 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:35:18 +00:00
Anton Oleynikov
2654d91aeb iRiver: new sound option "prevent clipping:adjust volume/adjust bass/adjust current/off"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8145 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 14:33:10 +00:00
Kevin Ferrare
1a1abf25f4 removed old statusbar and buttonbar code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8004 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 01:02:14 +00:00
Kevin Ferrare
e991beed6d replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Andy
f6da6d85b6 Removed monitor option from audio_set_recording_options and the global setting rec_monitor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7821 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 14:49:43 +00:00
Andy
e6e5496535 iRiver: Initial support for wav-recording in recording menu. Supports 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-12 04:00:56 +00:00
Jens Arnold
8051a0b724 Sound settings rework: * Put all fixed parameters (unit, decimals, step, 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-06 23:12:11 +00:00
Kevin Ferrare
4caf1ce185 Added wrapping on settings when reaching limits and when long key press is enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7763 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 14:04:56 +00:00
Kevin Ferrare
9b5264d37f Corrected the bug with boolean settings (the inverted screen that couldn't 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-11-06 03:18:34 +00:00
Jens Arnold
c1412f7dbc Fixed voicing of 'Trigger' menu item
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7566 a1c6a512-1295-4272-9138-f99709370657
2005-09-27 22:42:37 +00:00
Jens Arnold
086dd04595 Fixed trigger enabling/disabling when cycling backwards through modes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7563 a1c6a512-1295-4272-9138-f99709370657
2005-09-26 00:15:55 +00:00
Jens Arnold
8fd5b177ed Ondio FM: Removed S/PDIF option for recording source, as the Ondio doesn't have S/PDIF input. Bumped config block version so save your settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7482 a1c6a512-1295-4272-9138-f99709370657
2005-09-06 20:48:28 +00:00
Jens Arnold
d6c054575b Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Magnus Holmgren
5a8eac1a5a Added pre-amp setting for files with ReplayGain information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7303 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 18:56:20 +00:00
Christi Scarborough
be7894509f (1) Patch 1231281: Alignment tags for the WPS by Per Holmaeng. Use %al for left align, %ac for centre, %ar for right. It is currently not possible to use more than one %a? tag per WPS line. (2) Lots of tabs removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7034 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 22:27:54 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
cf986e8d44 Triggered recording fixes: (1) Made it compile for Ondio FM recorder (no led, button assigment). (2) Disabled trigger settings and peakmeter trigger handling for devices without recording. Saves > 2 KB of code on Ondio SP. (3) Const policed, saves some more code size. (4) Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6248 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 20:16:01 +00:00
Linus Nielsen Feltzing
ec4e9b8d60 Correct handling of USB events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6245 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 11:07:14 +00:00
Linus Nielsen Feltzing
1ca931d170 Oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6244 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 09:38:12 +00:00
Linus Nielsen Feltzing
68482bbed2 Patch #868645 by Philipp Pertermann, volume triggered recording for the Archos recording devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6243 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 09:12:12 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Jens Arnold
59eb461f82 Player: volume/balance/treble/bass handling improved. (1) Linear mapping of percent to dB for volume, like on all other units. (2) Bug fix: Limit the prescale compensation to +18 dB final volume. (3) Architectural fix: app code doesn't need to additionally set volume in order to activate a changed balance setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5817 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 13:47:21 +00:00
Daniel Stenberg
bf12c6a9a9 recording features depends on HAVE_RECORDING, not a specific MAS model
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5779 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 10:57:51 +00:00
Christi Scarborough
8a8bd91695 New Recording Option: Show recording screen on startup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5778 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 10:37:21 +00:00
Jens Arnold
76b257fd40 New channel configuration setting, allowing fine-grained control of the stereo width. This replaces the 'stereo narrow' and 'stereo wide' modes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5559 a1c6a512-1295-4272-9138-f99709370657
2005-01-12 00:24:15 +00:00
Linus Nielsen Feltzing
fb60a291be Added 74 and 80 minute recording time splits, for convenient CD creation, fixes feature request #1052616
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5370 a1c6a512-1295-4272-9138-f99709370657
2004-10-27 09:24:02 +00:00
Jens Arnold
e26f01b80e This one was missing from my MAS3539F support commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5150 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 21:53:10 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Jens Arnold
839067b7b3 More const policeing step 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4980 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 23:34:44 +00:00
Linus Nielsen Feltzing
ade5d7b848 First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 16:06:59 +00:00
Jörg Hohensohn
b1403ee024 New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:01:20 +00:00
Jens Arnold
d0bb88a766 Const'ed the various setting lookup tables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4904 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 22:13:24 +00:00
Jens Arnold
9a6545e787 Voice the 'Hertz' unit introduced with the MDB settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4841 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 19:11:01 +00:00
Linus Nielsen Feltzing
7bade1a24f Bass boost removed in favour of some new sound settings: Super bass and five new MDB parameters: strength, harmonics, center, shape and enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4839 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 12:17:14 +00:00
Linus Nielsen Feltzing
94da3b5f1d Added the (practically useless) 20ms option to the Auto Volume setting, for completeness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4793 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 12:37:42 +00:00
Daniel Stenberg
025cba4780 removed extra ';'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4755 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 11:30:51 +00:00
Jörg Hohensohn
3aa99e14cd Step 4 of voice UI:
- "talkbox" functionality added, but yet without thumbnail recording
- menu under "general settings" to configure voice
- directories and folders can be voiced as a numbers


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4440 a1c6a512-1295-4272-9138-f99709370657
2004-03-27 00:11:01 +00:00
Jörg Hohensohn
beec2e97e6 Overlooked to "voice" the set_int() function, this is why many numerical setting remained silent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4416 a1c6a512-1295-4272-9138-f99709370657
2004-03-20 16:49:58 +00:00
Jörg Hohensohn
fa97f161ab Third step of the voice-UI: numerical settings are spoken (composed at runtime), needs new voicefont at the new location ".rockbox/langs/english.voice"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4414 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:15:53 +00:00
Linus Nielsen Feltzing
77936e6ec5 First shot at a nice little button bar at the bottom of the recorder LCD. Enable Button Bar in the Display settings. Only the dir browser uses it at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4391 a1c6a512-1295-4272-9138-f99709370657
2004-03-16 13:44:56 +00:00
Jörg Hohensohn
42ffbf9bbc Second step of the voice-UI: Option values are spoken, if they are translatable strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4383 a1c6a512-1295-4272-9138-f99709370657
2004-03-15 08:27:51 +00:00
Jörg Hohensohn
4f36ea8fbf First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +00:00
Linus Nielsen Feltzing
10b92c44b3 First step towards context sensitive and configurable menus, by Brent Coutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
2004-03-12 10:20:33 +00:00
Linus Nielsen Feltzing
ef7293f0bc New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory.
New feature: A "Create directory" menu option (untested in the simulator).
Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
2004-01-21 14:58:40 +00:00
Jörg Hohensohn
f993365447 Moved the low-level playback functionality into a new, separate module "mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 20:42:51 +00:00
Linus Nielsen Feltzing
74976c1484 New recording feature: Prerecord up to 30 seconds before you press the Play key. Especially useful for FM radio recording. Also fixed a bug which didn't apply the recording settings correctly in the Radio screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4183 a1c6a512-1295-4272-9138-f99709370657
2003-12-31 03:13:29 +00:00