Andree Buschmann
|
d68d02ec11
|
Move implementation of codec_get_buffer() to codec.c, make related variables static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29839 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-08 20:18:35 +00:00 |
|
Andree Buschmann
|
b452fa061d
|
Use CACHEALIGN_SIZE in codec_malloc for optimal alignment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29838 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-08 19:50:39 +00:00 |
|
Andree Buschmann
|
f79769c541
|
Minor loop optimization in libfaad's is/ms decoding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29837 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-08 19:36:08 +00:00 |
|
Andree Buschmann
|
e720724b95
|
Use MEM_ALIGN_ATTR and CACHEALIGN_SIZE in oggmalloc to ensure optimal alignment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29833 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-08 16:41:23 +00:00 |
|
Andree Buschmann
|
897fd92827
|
codeclib: Declare several variables static and remove unused variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29831 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-08 10:34:05 +00:00 |
|
Nils Wallménius
|
04b4722a5c
|
Fix FS#12098 by ignoring battery update events in the yesno screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29828 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-07 08:08:49 +00:00 |
|
Magnus Holmgren
|
c2ff646b78
|
Avoid false warnings of full dirs when the number of visible entries in a dir equals the limit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29823 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-04 18:33:12 +00:00 |
|
Michael Giacomelli
|
37a9a200b2
|
Commit FS#12096 by Stephan Grossklass. Increases the maximum ID3v2 field length to 240 bytes on large memory targets, and 90 bytes on low memory targets. Total bytes for all tags combined remains unchanged.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29821 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-04 17:29:53 +00:00 |
|
Andree Buschmann
|
d6accacc60
|
Fix last known 'variable set but not used' warning reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29820 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-04 06:11:59 +00:00 |
|
Andree Buschmann
|
f19d6a5e1d
|
Fix even more 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29819 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-03 20:28:56 +00:00 |
|
Bertrik Sikken
|
069567c0bc
|
iap: pass length and data pointer to iap_handlepkt functions, this prepares for iap large packet support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29815 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-02 21:55:13 +00:00 |
|
Andree Buschmann
|
8aa1577a0b
|
Display the correct sign of replaygain for levels from -0.99 to -0.01 dB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29814 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-01 21:12:40 +00:00 |
|
Andree Buschmann
|
9af2ca7340
|
Remove tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29813 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-01 20:33:31 +00:00 |
|
Nils Wallménius
|
4a62bc40c2
|
Work around another 'set but not used' warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29811 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-01 16:53:20 +00:00 |
|
Andree Buschmann
|
27d153db93
|
Fix nearly all residual 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29810 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-01 14:44:20 +00:00 |
|
Andree Buschmann
|
f7c4594134
|
Fix further 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29809 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-01 13:48:28 +00:00 |
|
Andree Buschmann
|
e75018ad66
|
Fix several 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29805 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-01 11:42:41 +00:00 |
|
Michael Sevakis
|
5e57edf263
|
Clean up speex a bit after the playback changes in r29785. Haven't found any idiosyncracies not present before then. Fix it always returning CODEC_ERROR even when exiting codec_run normally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29804 a1c6a512-1295-4272-9138-f99709370657
|
2011-05-01 04:23:30 +00:00 |
|
Bertrik Sikken
|
155584fb78
|
iap: introduce functions (put_u32 and get_u32) to convert a uint32_t to a byte array and vice versa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29799 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-30 18:21:18 +00:00 |
|
Magnus Holmgren
|
ed2cfb8c1d
|
Don't (partially) apply changes to max entries in the file browser immediately. The setting affects a buffer that is allocated during boot, so code using that buffer should use the value that was in effect during boot. Add a note to the manual that a reboot is needed for the changes to be applied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29798 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-30 11:00:26 +00:00 |
|
Bertrik Sikken
|
16e793f5d1
|
iap: update handling of IdentifyDeviceLingoes command and fix RF tuner detection code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29797 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-30 10:40:05 +00:00 |
|
Bertrik Sikken
|
eac9577f76
|
FS#12085 - Correction of iap.c to avoid sending useless data to an accessory, and allow larger playlists names, by Ophir Lojkine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29796 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-30 09:15:57 +00:00 |
|
Andree Buschmann
|
d0d1a3f2f7
|
Remove unneeded update of ci->id3->frequency in aac and raac codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29794 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-28 21:07:28 +00:00 |
|
Michael Sevakis
|
ac724cca19
|
Get the NSF internal playlists working again. Fix a few wrongdoings in the metadata parser. Use the larger of track or playlist count to determine 'duration' so that the repeat-one switching to access the raw tracks works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29793 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-28 02:56:28 +00:00 |
|
Andree Buschmann
|
fa65362a42
|
Fix compiler warnings ('variable set ut not used') with GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29792 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-27 17:59:49 +00:00 |
|
Michael Sevakis
|
4170ac8ac6
|
Fix r29790 yellow. Need 'string-extra.h' for strlcpy().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29791 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-27 17:06:52 +00:00 |
|
Michael Sevakis
|
3d9c062822
|
Get NSF fixed up a bit and parse metadata in the core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29790 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-27 16:46:27 +00:00 |
|
Michael Sevakis
|
08bedf8305
|
Having a default weak codec_main symbol doesn't seem to be working out for compiling the sim under cygwin in at least some cases. Just implement it explicitly in all cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29789 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-27 12:52:11 +00:00 |
|
Bertrik Sikken
|
1a68986bc5
|
FS#12079 - Support for new commands in iap.c, by Ophir Lojkine
This allows access to the playlists from an ipod dock.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29788 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-27 06:24:28 +00:00 |
|
Michael Sevakis
|
82e97363f1
|
Get rid of a committed #define from kernel.h that didn't make the final cut. Put voice_wait in voice_thread.h where it ought.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29787 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-27 04:00:48 +00:00 |
|
Michael Sevakis
|
a089b00ea0
|
Hopefully fix red from r29785 - an #ifdef AB_REPEAT_ENABLE was left out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29786 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-27 03:23:48 +00:00 |
|
Michael Sevakis
|
c537d5958e
|
Commit FS#12069 - Playback rework - first stages. Gives as thorough as possible a treatment of codec management, track change and metadata logic as possible while maintaining fairly narrow focus and not rewriting everything all at once. Please see the rockbox-dev mail archive on 2011-04-25 (Playback engine rework) for a more thorough manifest of what was addressed. Plugins and codecs become incompatible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29785 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-27 03:08:23 +00:00 |
|
Andree Buschmann
|
dcf0f8de4a
|
Submit FS#12081. Check validity of channel configuration, comment unneeded code that is too inflexible to work with MAX_CHANNELS = 2. Fixes compiler warnings with GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29784 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-26 21:30:51 +00:00 |
|
Bertrik Sikken
|
05c3290608
|
iap: fix shutdown of logitech Pure-Fi Elite dock, by Ophir Lojkine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29783 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-25 11:06:59 +00:00 |
|
Michael Giacomelli
|
8166ce75c8
|
Commit FS#12056 by Noe Lojkinse. Fixes a bug in Xobox where old key presses were left on the buffer too long.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29781 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-24 23:44:58 +00:00 |
|
Bertrik Sikken
|
4c1de9c015
|
iap: add more comments to iap command and responses
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29779 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-24 20:22:38 +00:00 |
|
Andree Buschmann
|
a602f46d69
|
Rework of libfaad in several areas. Allow removal of malloc with a new define FAAD_STATIC_ALLOC (in common.h). For now malloc is not fully removed but used by a few arrays needed for AAC-HE SBR+PS only. Reason to keep malloc is to have this amount of memory available for AAC-LC files which might require large m4a tables. The changes make the allocation routines much smaller, better centralized and allow to move duplicated code from aac.c/raa.c to libfaad. The rework includes removal of (now and former) unused code as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29778 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-24 20:19:05 +00:00 |
|
Andree Buschmann
|
69580a96eb
|
Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29777 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-24 19:13:08 +00:00 |
|
Bertrik Sikken
|
abf503496b
|
iap: order lingo 0x00 commands by id and add comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29776 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-24 19:05:23 +00:00 |
|
Andree Buschmann
|
2f215da9c3
|
Use dedicated function to internally reset aac decoder synthesis after seek.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29775 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-24 18:56:23 +00:00 |
|
Andree Buschmann
|
2f04e6cca2
|
Ensure proper termination of m4a lookup table.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29774 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-24 18:33:39 +00:00 |
|
Andree Buschmann
|
15e9053afb
|
Clean up array sizes in the SBR + PS part of libfaad. Add MAX_NTSRPS (=38), use MAX_NTSR and MAX_NTSRHFG at the right places. RAM (IRAM) usage is reduced by 2 KB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29773 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-24 13:54:02 +00:00 |
|
Jonathan Gordon
|
2271995517
|
invert the quickscreen setting direction on wheel targets for settings which are number lists so pressing up makes it bigger (i.e contrast). fixes http://forums.rockbox.org/index.php/topic,27778.0.html
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29772 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-24 07:04:52 +00:00 |
|
Andree Buschmann
|
6bab4e8dc0
|
get_sample_info() has been removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29771 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-23 22:28:47 +00:00 |
|
Andree Buschmann
|
7d1de584fe
|
Minor speed optimization to m4a lookup table build up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29770 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-23 20:43:47 +00:00 |
|
Bertrik Sikken
|
d038db9420
|
iap: introduce cmd_ok_mode0 and cmd_ok_mode4 functions to reduce code duplication
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29757 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-21 22:36:10 +00:00 |
|
Bertrik Sikken
|
9ea20660ca
|
iap: split iap_handlepkt into a function per mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29755 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-21 21:50:39 +00:00 |
|
Nils Wallménius
|
12a60efca9
|
FS#12072 Improved and updated translation of Romaneste by Sergiu Rotaru.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29751 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-20 12:34:41 +00:00 |
|
Andree Buschmann
|
2358fabb70
|
Optimization to latest aac decoder changes. Significantly reduce loop count in m4a_check_sample_offset() during standard playback. Before this change the loop count increased with each decoded chunk and for each frame.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29750 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-19 05:55:54 +00:00 |
|
Andree Buschmann
|
68199cc195
|
Major rework of the m4a parser for aac/alac playback, seek and resume support. As a result the memory consumption was drastically reduced. This allows to play several files with long duration -- especially on low memory targets. The change builds a lookup table from m4a's sample_to_chunk[] and chunk_offset[] and completely removes the allocation of the large tables chunk_offset[] and sample_byte_size[]. To be able to remove reading and allocating sample_byte_offset[] the aac and alac decoder now buffer a fixed amount of bytes for each frame. The generated lookup table is used for seek/resume and skipping bytes in empty chunks (aac decoder only). The precision for seek/resume is somewhat lower but still equals 0.5 sec for the worst case. Fixes FS#8923.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29745 a1c6a512-1295-4272-9138-f99709370657
|
2011-04-18 19:12:51 +00:00 |
|