Commit graph

22 commits

Author SHA1 Message Date
Peter D'Hoye
67ff2624bf Recording buffer offset must be passed on to the firmware calls, not the other way around. Should fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9842 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 23:18:21 +00:00
Peter D'Hoye
8e71f90940 The recording buffer should not try to use the voice buffer, so map our buffer after it. On swcodec targets, recording always uses this buffer so always notify the others that we did. Fixes bug 4754.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9841 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 22:28:45 +00:00
Peter D'Hoye
ff862e19cc Yet another recording peakmeter sensitivity fix: only reset peak values after they've been read
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8985 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 22:27:39 +00:00
Peter D'Hoye
5ecac908a2 Fix by Jvo Studer for bugreport #4799. Recorded bytes counter wasn't updated with pre-recording bytes, causing an issue when file-splitting because of maximum filesize limit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8979 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 18:39:45 +00:00
Peter D'Hoye
9529d5fd14 Stop mixing signed and unsigned when dealing with audio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8876 a1c6a512-1295-4272-9138-f99709370657
2006-03-01 21:27:05 +00:00
Peter D'Hoye
55a7a5c060 Oops: clipping detection optimization broke pre-recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8861 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 19:23:26 +00:00
Peter D'Hoye
a6b913fdfb Store recorded peak values in short; this should fix an issue where clipping wasn't always detected. Also removed an obsolete function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8852 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 22:42:23 +00:00
Peter D'Hoye
9ace16f87f use all recorded samples for peak metering and clipping detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8837 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 22:28:57 +00:00
Miika Pekkarinen
482a242792 Committed the pre-recording patch for iriver (#1387531 by Peter D'Hoye).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8287 a1c6a512-1295-4272-9138-f99709370657
2005-12-23 21:43:05 +00:00
Linus Nielsen Feltzing
a4b15a4f1f H300 FM radio support, with help from Peter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8237 a1c6a512-1295-4272-9138-f99709370657
2005-12-15 01:11:19 +00:00
Miika Pekkarinen
f0e733aed5 Fixed recording peak meters to always work. Now it should be easy to
add pre-recording support too.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8126 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 08:54:38 +00:00
Miika Pekkarinen
7d185d7fac Fixed ui lag while writing recorded data to disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8122 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 08:13:09 +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
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
72f98786a0 Fixup of the MCF5249 memory mapped register definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7755 a1c6a512-1295-4272-9138-f99709370657
2005-11-05 03:28:20 +00:00
Dave Chapman
da6c0a0e46 Fix channel-swapping bug in iriver recordings. Left and Right channels should now be correctly written to the WAV file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7585 a1c6a512-1295-4272-9138-f99709370657
2005-10-06 21:19:18 +00:00
Dave Chapman
9e19c95d8e Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - letoh16, letoh32, htole16, htole32, betoh16, betoh32, htobe16 and htobe32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7584 a1c6a512-1295-4272-9138-f99709370657
2005-10-06 19:27:43 +00:00
Linus Nielsen Feltzing
4af4251076 Add pcm_set_mux() for switching between FM radio and Line input
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7315 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 17:28:59 +00:00
Christian Gmeiner
14e80671af iAudio: First unfinished attempt for tlv320 driver and rockbox integration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
2005-08-06 10:12:19 +00:00
Jens Arnold
b5fc2530a7 Removed the XYZ_PIXEL() macros. They are no longer needed, and they did only work correctly for b&w.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7074 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 19:09:17 +00:00
Andy
e5d08722f8 Iriver: First attempt at recording. Use Info->Debug->PCM recording to test recording of wav-files. Seams to work fine except occasional 100 ms noise at pos 100 ms (not later) so initialization or synch problem..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6763 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 03:05:53 +00:00