Jens Arnold
0f949e93e3
Archos recorders, Ondio FM: Set (unused) MAS SDO and S/PDIF out while recording the same way as for playback (SDO disabled, S/PDIF enabled on recorder V1 only).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11456 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 22:40:40 +00:00
Michael Sevakis
4aa01ed5f0
Fixed the errors on the sims.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11454 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:36:10 +00:00
Michael Sevakis
0f5cb94aa4
Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Linus Nielsen Feltzing
4950b55837
Patch #6052 - More responsive skip on Archos
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11273 a1c6a512-1295-4272-9138-f99709370657
2006-10-19 11:43:13 +00:00
Linus Nielsen Feltzing
da153da0be
Patch #5166 by Robert Keevil - Last.fm logging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11269 a1c6a512-1295-4272-9138-f99709370657
2006-10-19 09:42:58 +00:00
Miika Pekkarinen
a85044bf9e
New scheduler, with priorities for swcodec platforms. Frequent task
...
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:18:11 +00:00
Michael Sevakis
4fc717a4c1
Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with additional FM Recording support and my modifications
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10789 a1c6a512-1295-4272-9138-f99709370657
2006-08-28 22:38:41 +00:00
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
Jens Arnold
8ac3ae73c5
More 64bit simulator fixes, coinciding with the long policy this time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8890 a1c6a512-1295-4272-9138-f99709370657
2006-03-03 02:09:58 +00:00
Magnus Holmgren
917f2c1804
Simulator fixes: id3 string pointers can be null.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8282 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 21:42:00 +00:00
Marcoen Hirschberg
46b726eaab
several small fixes sugested by different people (FireFly, Lear, Takka)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8184 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 08:37:14 +00:00
Marcoen Hirschberg
b0fee17d6e
waiting is over: initial unicode commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 13:27:15 +00:00
Jens Arnold
3f11ff6270
Bugfix: Prevent spurious bitswap when switching from recording to playback. This caused erratic voice UI behaviour under certain conditions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8148 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 16:37:38 +00:00
Anton Oleynikov
0bb62fb1e2
removed set audio status method - will be using different approach
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7844 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 14:10:57 +00:00
Anton Oleynikov
f40a6fcb30
new function to set audio status (to be used later)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7839 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 11:00:38 +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
ec2ed49b1f
Fix for broken simulators
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7819 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 04:56:53 +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
Hardeep Sidhu
1df2edb778
Removed tabs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7787 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 06:33:36 +00:00
Hardeep Sidhu
8fef62bdac
If no previous track found, check if we're really at the end of playback or if a new playlist is starting. Fixes problem with previous not working with move to next folder feature.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7786 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 06:28:05 +00:00
Jens Arnold
65c1746663
Overlooked this one when changing sound_set() calls to the individual functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7778 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 20:35:24 +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
ba966c1761
Archos recording/playback: (1) Xing header creation: * Now estimates the framecount from the recording time if the MAS frame counter saturates, so it always writes a valid Xing header. * Reverted my brainless short-xing-header change. This was only valid for layer 3. (2) Xing/VBRI header evaluation: Fixed possible overflow in bitrate calculation. (3) MPEG thread: Avoid double chunk size limiting for the rare case of 8 MB modded Ondios.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7522 a1c6a512-1295-4272-9138-f99709370657
2005-09-15 05:29:26 +00:00
Jens Arnold
ec9b202a92
Reworked handling of MPEG audio frame & file info: * Fixed frame size calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657
2005-09-10 12:28:16 +00:00
Jens Arnold
fbaf503d0d
Archos recording: yield() within audio_beep() to avoid starving the mpeg thread; recording beep should no longer disturb prerecording.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7475 a1c6a512-1295-4272-9138-f99709370657
2005-09-05 23:36:29 +00:00
Jens Arnold
9352ac8668
Archos recording: Always prepend ID3V2 and Xing header to a recording file, even with prerecording and file splitting. Adjusted Xing header creation to create smaller headers. Fixed missing break; in the mpeg thread.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7472 a1c6a512-1295-4272-9138-f99709370657
2005-09-04 21:55:15 +00:00
Linus Nielsen Feltzing
051f2cf3de
Adjusted the file size calculation when prerecording
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7451 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 07:01:08 +00:00
Linus Nielsen Feltzing
e54aa2ab93
Archos: Even more NULL pointer accesses removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7433 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 22:50:56 +00:00
Linus Nielsen Feltzing
80bb2819da
Archos: Removed NULL pointer accesses when changing tracks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7431 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 20:52:24 +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
Linus Nielsen Feltzing
0ad617cbf0
Patch #1105616 by Ray Lambert - A-B Repeat for Archos studio/recorder, still not 100% complete, but I wanted to commit it before the 2.5 feature freeze
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7380 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 23:01:12 +00:00
Jens Arnold
dece414749
Hooked up the runtime database on archos.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7376 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 21:15:32 +00:00
Jens Arnold
329caa8ade
More mpeg.c cleanup: collected variables and declarations at the top, more #if/#ifdef fixup. Cut a bit of binary size by making debug_tags() an empty define for ordinary builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7359 a1c6a512-1295-4272-9138-f99709370657
2005-08-19 22:39:01 +00:00
Jens Arnold
1d38aa19e7
Cleaned up remnants of early iriver development. First part of #if/#ifdef cleanup,adjusted comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7355 a1c6a512-1295-4272-9138-f99709370657
2005-08-19 06:43:50 +00:00
Jens Arnold
363bc490ff
Use the provided function to calculate the unsaved space in rec_tick().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7344 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 04:38:57 +00:00
Henrik Backe
a670e341cc
Fixed skip bug at buffer refill
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7064 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 09:55:22 +00:00
Hardeep Sidhu
81b32e0931
Only update resume info when playing. Fixes resume when exiting recording/radio screens.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7056 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 16:57:10 +00:00
Hardeep Sidhu
839dbcaed7
Moved resume info updating to the mpeg/playback threads so that it's saved even when not in the WPS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7018 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:50:57 +00:00
Hardeep Sidhu
c8ce78aa90
Don't update playlist when no tracks in memory. Fixes looping bug when repeat shuffle is enabled in a directory that contains only invalid tracks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6964 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 12:06:30 +00:00
Hardeep Sidhu
71d2281d8b
Added new feature to move to next folder once the current one completes when playing directories
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6963 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 11:25:16 +00:00
Hardeep Sidhu
74d082c038
Added new shuffle repeat mode that reshuffles playlist before repeating. Also added new shuffled insert mode that randomly inserts selected track(s) somewhere between current track and end of playlist.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6861 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 04:46:25 +00:00
Linus Nielsen Feltzing
1c497e6045
First audio codec playback attempt by Miikka Pekkarinen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:05:10 +00:00
Jens Arnold
e03f40284e
Major recording rework: (1) Slight optimisation of the recording transfer. (2) Rework of the recording event loop: (a) When starting a recording, wait a bit longer before grabbing a header, increasing the chance that we get a valid one. (b) Bugfix: Always flush the whole buffer when it gets above the watermark. (c) Save in chunks for lower latency (1MB on 8MB-modded boxes, and 256KB on Ondio). (d) Hierarchical scheme of reasons to save data: stop_recording beats new_file, and new_file beats buffer_full. (e) Saving is done in one location. Decreased code size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6560 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 11:29:39 +00:00
Jens Arnold
7a977b833f
Avoid radio interference from the MAS internal clock on devices with the Samsung tuner (FM recorder, old Ondio FM) by slightly shifting it away when necessary.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6531 a1c6a512-1295-4272-9138-f99709370657
2005-05-28 01:09:19 +00:00
Jens Arnold
ef32881e96
Some small fixes for playback: (1) Always fill up to the high watermark. (2) A bit more robust id3v1 skipping.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6529 a1c6a512-1295-4272-9138-f99709370657
2005-05-27 21:46:44 +00:00
Jens Arnold
ff3add9f20
Archos recorders: New recording data transfer routine. Not asm optimised this time, but it should lower the possibility of broken recordings a little.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6511 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 18:56:15 +00:00
Jens Arnold
bbf73dfaa7
Removed unused variable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6445 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 22:44:26 +00:00
Jens Arnold
a559cf2e39
Disabled unused constants.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6431 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 13:41:24 +00:00
Jens Arnold
642ac35940
More dead code...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6430 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 13:24:30 +00:00
Linus Nielsen Feltzing
5f8241aa44
First step towards separating the metadata handling from the mpeg thread code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6262 a1c6a512-1295-4272-9138-f99709370657
2005-04-07 22:28:26 +00:00