summaryrefslogtreecommitdiff
path: root/firmware/pcm_record.c
AgeCommit message (Collapse)Author
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-06-30For iriver recording: do not boost while recording unless source is spdif. ↵Peter D'Hoye
When saving to disk, boost if needed. Decreased max file size a bit for safety. Increases runtime while recording analog sources. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10159 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-05-12H1x0: Obey SPDIF power setting for monitoring SPDIF recordings as far as ↵Jens Arnold
possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9923 a1c6a512-1295-4272-9138-f99709370657
2006-05-12Iriver recording: Always route the signals through the coldfire audio ↵Jens Arnold
interface for monitoring. Advantages: (H1x0) Enables parallel analog and SPDIF monitoring of both analog or SPDIF sources. When recording from SPDIF, the SPDIF monitor signal is pure pass-through. (all) Digital clipping is now audible in the analog monitor signal. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9918 a1c6a512-1295-4272-9138-f99709370657
2006-05-11Optical S/PDIF recording and monitoring for Iriver H1x0. Removed unsupported ↵Thom Johansen
recording options on Iriver. Sample rate displayed in recording screen reflects the real S/PDIF sample rate when doing S/PDIF recording. Testing would be appreciated. Thanks to Jens Arnold for fixing the DMA hang issue. Will reset settings! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9916 a1c6a512-1295-4272-9138-f99709370657
2006-04-30Recording buffer offset must be passed on to the firmware calls, not the ↵Peter D'Hoye
other way around. Should fix yellow builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9842 a1c6a512-1295-4272-9138-f99709370657
2006-04-30The recording buffer should not try to use the voice buffer, so map our ↵Peter D'Hoye
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-03-09Yet another recording peakmeter sensitivity fix: only reset peak values ↵Peter D'Hoye
after they've been read git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8985 a1c6a512-1295-4272-9138-f99709370657
2006-03-09Fix by Jvo Studer for bugreport #4799. Recorded bytes counter wasn't updated ↵Peter D'Hoye
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-01Stop mixing signed and unsigned when dealing with audioPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8876 a1c6a512-1295-4272-9138-f99709370657
2006-02-27Oops: clipping detection optimization broke pre-recordingPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8861 a1c6a512-1295-4272-9138-f99709370657
2006-02-26Store recorded peak values in short; this should fix an issue where clipping ↵Peter D'Hoye
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-24use all recorded samples for peak metering and clipping detectionPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8837 a1c6a512-1295-4272-9138-f99709370657
2005-12-23Committed the pre-recording patch for iriver (#1387531 by Peter D'Hoye).Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8287 a1c6a512-1295-4272-9138-f99709370657
2005-12-15H300 FM radio support, with help from Peter D'HoyeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8237 a1c6a512-1295-4272-9138-f99709370657
2005-12-02Fixed recording peak meters to always work. Now it should be easy toMiika Pekkarinen
add pre-recording support too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8126 a1c6a512-1295-4272-9138-f99709370657
2005-12-02Fixed ui lag while writing recorded data to disk.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8122 a1c6a512-1295-4272-9138-f99709370657
2005-12-02iRiver recording changes:Andy
- 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-11-12Removed monitor option from audio_set_recording_options and the global ↵Andy
setting rec_monitor. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7821 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-05Fixup of the MCF5249 memory mapped register definitions.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7755 a1c6a512-1295-4272-9138-f99709370657
2005-10-06Fix channel-swapping bug in iriver recordings. Left and Right channels ↵Dave Chapman
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-06Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - ↵Dave Chapman
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-08-13Add pcm_set_mux() for switching between FM radio and Line inputLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7315 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-07-08Removed the XYZ_PIXEL() macros. They are no longer needed, and they did only ↵Jens Arnold
work correctly for b&w. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7074 a1c6a512-1295-4272-9138-f99709370657
2005-06-19Iriver: First attempt at recording. Use Info->Debug->PCM recording to test ↵Andy
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