Commit graph

101 commits

Author SHA1 Message Date
Hristo Kovachev
db734b41d5 Patch #1403437 by Peter D'Hoye & Martin Scarratt: Recording gain.
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-08 13:08:55 +00:00
Jens Arnold
feca29576f Button assignments for H1x0 and H3x0 are identical (cosmetic).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8259 a1c6a512-1295-4272-9138-f99709370657
2005-12-18 10:02:41 +00:00
Linus Nielsen Feltzing
7da0c40f4b Patch #1382969 by Peter D'Hoye - recording for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8252 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 10:13:29 +00:00
Dave Chapman
8c800cf59a Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC defines from config-*.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 15:23:47 +00:00
Andy
1e4d1f8de7 iRiver recording changes:
- Added Peakmeter in recording screen
- Fix for stop bug
- Fix for playback peakmeter not working after recording


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8120 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 01:04:03 +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
Linus Nielsen Feltzing
34e8359838 Allow volume change in the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7845 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 15:16:27 +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
Jens Arnold
2c0d04cc94 Fixed comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7508 a1c6a512-1295-4272-9138-f99709370657
2005-09-11 17:57:31 +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
1e0b5aabcb Ondio FM button assignment: The recording screen now uses up/down to select the setting, and left/right to adjust it, like the recorders. Start/pause recording is short MODE. The radio screen now requires a MODE doubleclick to start recording. This should prevent unwanted recordings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7474 a1c6a512-1295-4272-9138-f99709370657
2005-09-05 19:17:23 +00:00
Jens Arnold
58e9412bff Added universal functions for creation of numbered filenames and date+time filenames (units with RTC only). Some size optimisations within code using these new functions. Everything should behave as before, except config saving will always find the highest file number + 1 even if the sequence is non-contiguous.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7449 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 01:15:35 +00:00
Linus Nielsen Feltzing
6c2af7c2aa On popular demand, the arrow cursor is reintroduced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7438 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 08:04:37 +00:00
Linus Nielsen Feltzing
f43216ff0b Removed the line selector option, it is now always an inverse bar (except for the Player/Studio of course)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7423 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 11:10:08 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Jens Arnold
5690f78fb2 Multiple choice LED configuration instead of HAVE_LED. Removes erroneous MMC icon display on iriver, and saves some code on Ondio. Removed invert_led() as it is no longer used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6568 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 23:15:52 +00:00
Jens Arnold
031e4b8738 New recording feature: Don't split every 24 hours if timesplit is off, but only split when the filesize approaches the 2GB limit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6562 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 12:14:46 +00:00
Jens Arnold
d9b66127ac Recording screen rework: (1) Fixed irregular LED blinking on pause/ armed trigger. All redraw & LED intervals are now generated by the peakmeter_draw_get_button() delay alone, avoiding interference of different frequencies. (2) This also fixes irregular update intervals of the whole recording screen. (3) Code cleanup, smaller binary size. (4) Fixed gain limits (symmetric analog gain increase used mic gain limit, and so did the right analog gain decrease).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6559 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 10:19:45 +00:00
Jens Arnold
e387a2238e Proper indentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6525 a1c6a512-1295-4272-9138-f99709370657
2005-05-26 20:02:12 +00:00
Jens Arnold
4e2cee1ece Bugfix: The recording screen must not touch the LED if the LED is only simulated to avoid confusion (Ondio FM).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6392 a1c6a512-1295-4272-9138-f99709370657
2005-05-01 20:10:39 +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
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +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
Jean-Philippe Bernardy
4ff0c8e4c8 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5971 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 11:04:35 +00:00
Jean-Philippe Bernardy
b1c138ea1a Recording keys assignments for gmini 120
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5855 a1c6a512-1295-4272-9138-f99709370657
2005-02-08 15:38:01 +00:00
Daniel Stenberg
1aa4dcb58e initial iriver keypad support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5744 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:48:47 +00:00
Jens Arnold
2116bba296 New function for formatting large-range values for output, both printed and voiced. This replaces num2max5(). It is currently used for the total/free space display in the info menu, for the recorded number of bytes (recorders) and the MMC debug info (Ondios).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5721 a1c6a512-1295-4272-9138-f99709370657
2005-01-31 00:39:20 +00:00
Jörg Hohensohn
37d4730677 Ondio bugfix: recording file number generator didn't release the directory handle, causing a panic after several calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5564 a1c6a512-1295-4272-9138-f99709370657
2005-01-13 23:40:00 +00:00
Jörg Hohensohn
dfa95c334b different kind of recording beep: more faint, but not disturbing prerecording, can beep while we already record (no latency due to beep)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5511 a1c6a512-1295-4272-9138-f99709370657
2004-12-24 08:42:45 +00:00
Jörg Hohensohn
3bf321ff1c aid for blind recorders: longer beep when starting a recording, short beep when resuming it (you may disable the voice UI to get rid of it)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5502 a1c6a512-1295-4272-9138-f99709370657
2004-12-21 23:49:43 +00:00
Linus Nielsen Feltzing
d15d15513d Turn off the recording LED before reporting disk-full errors. Fixes bug report #1061647
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5391 a1c6a512-1295-4272-9138-f99709370657
2004-11-08 13:20:43 +00:00
Jens Arnold
0e8169c12a Fixes: (1) Menu now disabled while recording, to prevent settings change. (2) Red led is switched off before entering menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5339 a1c6a512-1295-4272-9138-f99709370657
2004-10-24 22:30:55 +00:00
Linus Nielsen Feltzing
c24498bb51 Bug/patch #1049956, turn off LED when entering recording quick screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5309 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 11:39:24 +00:00
Jörg Hohensohn
1120ef50c7 file name generation for recorder without RTC (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5298 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 10:00:46 +00:00
Jörg Hohensohn
6b114db36f removed obsolete code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5245 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 16:21:37 +00:00
Jörg Hohensohn
d885a2690a minor improvement: allow option cycling for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5234 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 12:00:53 +00:00
Jörg Hohensohn
c259bfdabe recording enabled for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5233 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 11:39:30 +00:00
Jens Arnold
eaa1f73c6d Added MAS3539F support (Ondio SP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 19:51:41 +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
995d24ca2c Fixed typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5095 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 22:55:20 +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
Jörg Hohensohn
d4e527b811 temporary hacks to make it compile with the Ondio (=Player) keypad. No influence for the other platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5060 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 13:19:41 +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
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