summaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2011-07-09The voice PCM buffer has nothing to do with the playback PCM buffer any ↵Michael Sevakis2-9/+19
longer. Allocate it independently from the playback engine's PCM buffer and only when voice is required. Additionally, allocate actual space for the crossfade buffer only when using crossfade. Will save 18.3KB when neither is needed (10.3KB for voice and 8.0KB for crossfade). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30133 a1c6a512-1295-4272-9138-f99709370657
2011-07-08Voice doesn't have to consume 100% CPU while waiting for an output buffer to ↵Michael Sevakis1-1/+1
be available. Use 'sleep(0)' instead of 'yield()' while polling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30132 a1c6a512-1295-4272-9138-f99709370657
2011-07-08Fix r30130 red. New functions in misc.c shouldn't be compiled if ↵Michael Sevakis1-49/+50
'__PCTOOL__' is defined. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30131 a1c6a512-1295-4272-9138-f99709370657
2011-07-08Have mpegplayer use the mixer (the playback channel, since it's mutually ↵Michael Sevakis10-48/+149
exclusive to audio playback) so the clicks and skip beep can be used according to user settings. Introduce some system sound functions to make easier playing event sounds from various places and convert files calling 'beep_play' to use 'system_sound_play' and 'keyclick_click'. Event sound could be become themeable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30130 a1c6a512-1295-4272-9138-f99709370657
2011-07-06Update french translation, shorten string for Archos Player.Mustapha Senhaji1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30128 a1c6a512-1295-4272-9138-f99709370657
2011-07-06FS#12173 Romanian translation update by Sergiu Rotaru.Mustapha Senhaji1-15/+15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30126 a1c6a512-1295-4272-9138-f99709370657
2011-07-06Fix FS#12181 - Playlist re-shuffle does not work (r30122)Thomas Martitz1-2/+2
Dircache IDs can be 0, so to invalidate -1 must be used. Update the memset calls to reflect this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30125 a1c6a512-1295-4272-9138-f99709370657
2011-07-06Fix FS#12179 - Simulator build fails when using "configure --sdl-threads". ↵Michael Sevakis1-0/+4
HAVE_PRIORITY_SCHEDULING checks were missing to exclude priority calls when building without priority. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30124 a1c6a512-1295-4272-9138-f99709370657
2011-07-02Use playback channel directly for peakmeters and plugins using peak ↵Michael Sevakis6-5/+13
calculation. Also, for now, don't allow mixer playback to overlap recording, even if full duplex works. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30119 a1c6a512-1295-4272-9138-f99709370657
2011-07-01Allocate indices directly in ramcache header. Add version code toMiika Pekkarinen2-6/+10
tagcache state dump header. Debug: hdr-structure corruption might happen after rebuilding of dircache. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30109 a1c6a512-1295-4272-9138-f99709370657
2011-06-30Do not use double/float calculations but predefined tables in mod codec. ↵Andree Buschmann1-6/+66
Reduces codesize by several kilobytes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30107 a1c6a512-1295-4272-9138-f99709370657
2011-06-30Use id3v2buf to read the title of MOD files. Avoids additional declaration ↵Andree Buschmann1-15/+11
of a 1KB buffer and saves a bit codesize as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30105 a1c6a512-1295-4272-9138-f99709370657
2011-06-30Relax constraints for arm asm to not break when gcc decides to not inline ↵Nils Wallménius1-3/+3
the function but also throw in a FORCE_INLINE for good measure. Remove a redundant 'inline'. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30103 a1c6a512-1295-4272-9138-f99709370657
2011-06-29Do some adjustments to alleviate IRAM congestion on some targets from ↵Michael Sevakis2-22/+21
r30097. Include removing pointless IRAM declarations in pcmbuf.c because that callback code runs at a fairly relaxed pace. M5 is still the biggest problem. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30100 a1c6a512-1295-4272-9138-f99709370657
2011-06-29Knock out at least some red/yellow from r30097.Michael Sevakis3-1/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30098 a1c6a512-1295-4272-9138-f99709370657
2011-06-29Commit FS#12150 - Fully-functional audio mixer - and finally whip old ↵Michael Sevakis15-359/+468
limitations about playback of voice and other sounds when paused. Channels are independent in state and amplitude. Fade on stop/pause is handled by the channel's volume control rather than global volume which means it now works from anywhere. Opens up the possibility of plugin sounds during music playback by merely adding an additional channel enum. If any PCM drivers were not properly modified, see one of the last comments in the task for a description of the simple change that is expected. Some params are tunable in firmware/export/pcm-mixer.h as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30097 a1c6a512-1295-4272-9138-f99709370657
2011-06-28FS#12172 - Update for serbian translation by Ivan PesicBertrik Sikken1-7/+20
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30096 a1c6a512-1295-4272-9138-f99709370657
2011-06-28Remove leftover backslash from macro conversion in FRACTMUL_SHLThomas Jarosch1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30094 a1c6a512-1295-4272-9138-f99709370657
2011-06-28FS#12171 - Polish translation update by Wojciech LesniakBertrik Sikken1-14/+27
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30093 a1c6a512-1295-4272-9138-f99709370657
2011-06-27Update Danish translationJonas Häggqvist1-11/+20
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30084 a1c6a512-1295-4272-9138-f99709370657
2011-06-26FS#12168 - Update Simp Chinese translation by Li JieRafaël Carré1-11/+24
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30081 a1c6a512-1295-4272-9138-f99709370657
2011-06-26Reuse a general voice function instead of reinventing the wheel.Nils Wallménius2-16/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30080 a1c6a512-1295-4272-9138-f99709370657
2011-06-26Fix missing strings in nederlands translationBertrik Sikken1-7/+20
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30078 a1c6a512-1295-4272-9138-f99709370657
2011-06-26Update US English translationJens Arnold1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30075 a1c6a512-1295-4272-9138-f99709370657
2011-06-26Update German translationJens Arnold1-7/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30074 a1c6a512-1295-4272-9138-f99709370657
2011-06-25english.lang: remove trailing spacesRafaël Carré1-15/+15
Reduce the diff with english-us.lang git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30072 a1c6a512-1295-4272-9138-f99709370657
2011-06-24(Heavily) shorten the .lang string shown when generating the databaseJens Arnold2-0/+4
for the Player in order to make it fit on the small LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30066 a1c6a512-1295-4272-9138-f99709370657
2011-06-24Submit FS#12142 by Sean Bartell with minor chnages by myself. Removes unused ↵Andree Buschmann17-1945/+16
code and irrelevant files from libmad. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30065 a1c6a512-1295-4272-9138-f99709370657
2011-06-24SPC Codec: Restore correct FIR buffer alignment when an address mask is ↵Michael Sevakis1-4/+6
used. It must be FIR_BUF_ALIGN. Fix Coldfire assembly constraint where an input parameter was also being written. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30063 a1c6a512-1295-4272-9138-f99709370657
2011-06-24Submit FS#12164 by Sean Bartell with minor changes by myself. Fixes possible ↵Andree Buschmann3-4/+5
decoding corruption of RealAudio files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30060 a1c6a512-1295-4272-9138-f99709370657
2011-06-23Fixed a regression caused in r30021: tagnavi_custom.config parsingMiika Pekkarinen4-4/+10
fails if lines ended with <CR><LF> sequence. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30058 a1c6a512-1295-4272-9138-f99709370657
2011-06-21Try to handle dircache rebuild event properly. Playlist should nowMiika Pekkarinen1-8/+25
cache new pointers to dircache items when dircache goes offline and comes back onlineagain (during tagcache commit). This should prevent wrong filenames to appear in playlist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30047 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Update US English by Steven Panek.Alex Parker1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30045 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Fix red in fft plugin.Thomas Martitz1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30044 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Add US English by Steven Panek.Alex Parker2-0/+12675
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30043 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Dircache: Don't expose struct dircache_entry and pointers into the cache, ↵Thomas Martitz3-51/+27
use IDs instead. Only integer IDs are exposed from dircache with this. This way the cache is isolated from other modules. This is needed for my buflib gsoc project. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30038 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Dircache: Return the size of the result string in dircache_copy_path() so ↵Thomas Martitz2-4/+4
that callers don't need to call strlen on it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30034 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Fix yellow. Shouldn't have reordered struct members here.Thomas Martitz1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30031 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Remove unused code path from playlist_create_ex().Thomas Martitz1-21/+14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30030 a1c6a512-1295-4272-9138-f99709370657
2011-06-20tagtree: Refactor memory allocation to local functions.Thomas Martitz1-18/+32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30029 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Move struct search_instruction into struct menu root, as they're not ↵Thomas Martitz1-16/+12
allocated or used independently. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30028 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Use enum themable_icons in struct file_type and struct filetype (who made ↵Thomas Martitz3-5/+4
those names?). It's the correct type and should save some memory due to struct padding (on eabi). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30027 a1c6a512-1295-4272-9138-f99709370657
2011-06-20Fixed a changelog export/import problem with tagcache where <CR> or <LF>Miika Pekkarinen2-21/+23
characters in a tag could cause the parser fail to import a track statistics correctly. Now line feeds are escaped properly and carriage returns ignored on import. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30021 a1c6a512-1295-4272-9138-f99709370657
2011-06-19Fix non-working .talk clips on hwcodec (follow-up to r28672 and r29432): ↵Jens Arnold1-5/+11
.talk clips must be evaluated as MP3. Also fix supported formats: hwcodec doesn't support MP1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30019 a1c6a512-1295-4272-9138-f99709370657
2011-06-19Removed redundant copy of tagcache master_header structure stored inMiika Pekkarinen1-21/+21
memory. One of these headers (current_tcmh) was not loaded in when tagcache state was initialized from a hibernated state file (flashed H1xx targets). That caused internal serial number to start always from zero, rendering "recently played tracks" query not working as expected. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30016 a1c6a512-1295-4272-9138-f99709370657
2011-06-18FS#12161: Correct the gapless processing for AAC, so that it doesn't remove ↵Magnus Holmgren1-7/+28
too much from the start of a track. Also simplify the logic a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30012 a1c6a512-1295-4272-9138-f99709370657
2011-06-17FS#12162 - Second June update of Czech language by Marek SalabaBertrik Sikken1-11/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30011 a1c6a512-1295-4272-9138-f99709370657
2011-06-17Fix 'unused-but-set-variable' warnings (doom, lua)Rafaël Carré2-13/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30008 a1c6a512-1295-4272-9138-f99709370657
2011-06-16Fix FS#12158 - Make the "Mode: " line in the radio menu voice.Jonathan Gordon38-38/+51
Translators need to verify the voice string, dumbly copied from the dest string git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30007 a1c6a512-1295-4272-9138-f99709370657
2011-06-14Prevent out-of-bounds array access when a tagnavi config file defines too ↵Michael Hohmuth1-0/+6
many %format specifications git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30006 a1c6a512-1295-4272-9138-f99709370657