summaryrefslogtreecommitdiff
path: root/apps/metadata (follow)
Commit message (Collapse)AuthorAge
* Build librbcodec with DSP and metadata.Sean Bartell2012-03-18
| | | | | | All associated files are moved to /lib/rbcodec. Change-Id: I572ddd2b8a996aae1e98c081d06b1ed356dce222
* Add the warble test program.Sean Bartell2012-03-03
| | | | | | | | | | | | Warble uses Rockbox's codecs to play files with SDL or convert them to WAV or raw formats. It also prints metadata and supports some of the DSP effects. In the future, warble could be used to implement an automated test suite for codecs, metadata, and DSP. Change-Id: Ife1a63d2354496016277bfcbae4a9c23423ebd86 Reviewed-on: http://gerrit.rockbox.org/135 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
* Rename 'mp3entry.embed_cuesheet' to 'mp3entry.embedded_cuesheet' and pull ↵Alexander Levin2011-12-22
| | | | | | out a field (FS#12473) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31406 a1c6a512-1295-4272-9138-f99709370657
* Rename 'mp3entry.embed_albumart' to 'mp3entry.has_embedded_albumart' ↵Alexander Levin2011-12-22
| | | | | | (FS#12470). No functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31405 a1c6a512-1295-4272-9138-f99709370657
* Convert hard-coded unicode byte order mark values to constants.Nick Peskett2011-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31374 a1c6a512-1295-4272-9138-f99709370657
* Make embedded cuesheet type 1 text encoding check slightly more efficientNick Peskett2011-12-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31363 a1c6a512-1295-4272-9138-f99709370657
* I forgot to flip the true response from memcmpNick Peskett2011-12-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31350 a1c6a512-1295-4272-9138-f99709370657
* Type 1 text encoding uses BOM to decide byte order, type 2 has no BOM and is BE.Nick Peskett2011-12-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31349 a1c6a512-1295-4272-9138-f99709370657
* Hard code the cuesheet offset for double byte encoding, rather than ↵Nick Peskett2011-12-18
| | | | | | pointless calculation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31348 a1c6a512-1295-4272-9138-f99709370657
* Add const to global pointers to strings.Boris Gjenero2011-12-17
| | | | | | | | | | When a global pointer is not declared as constant, gcc will put it in memory. Getting the address of the string it points to requires loading the address of the pointer and then loading the pointer. When the pointer is declared constant, the address of the string is loaded directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31345 a1c6a512-1295-4272-9138-f99709370657
* FS #12419 : Support for embedded cuesheets.Nick Peskett2011-12-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31321 a1c6a512-1295-4272-9138-f99709370657
* Add conditionals for functions only needed on SWCODEC targets.Boris Gjenero2011-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31296 a1c6a512-1295-4272-9138-f99709370657
* Rockbox does not support encrypted ADX. Clearly state this in the manual and ↵Andree Buschmann2011-11-29
| | | | | | the debug messages. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31094 a1c6a512-1295-4272-9138-f99709370657
* Make embedded cover art for APEv2 more flexible. This fixes an issue with ↵Andree Buschmann2011-11-29
| | | | | | foobar-tagged files as reported in the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31091 a1c6a512-1295-4272-9138-f99709370657
* More de-tabificationBertrik Sikken2011-10-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30735 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#12266, by skipping empty frames when reading ID3v2 tags. Also add ↵Magnus Holmgren2011-09-14
| | | | | | some length checks to be safe. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30550 a1c6a512-1295-4272-9138-f99709370657
* FS#12163 by Sean BartellNils Wallménius2011-08-27
| | | | | | | | | | get_long_be shifts an unsigned char left--which results in a signed int. It then implicitly casts to unsigned long, which sign-extends the int, leaving unwanted 1's in the upper bits. This affects AIFF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30364 a1c6a512-1295-4272-9138-f99709370657
* libgme: make local functions static where possibleBertrik Sikken2011-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30280 a1c6a512-1295-4272-9138-f99709370657
* Submit initial patch from FS#12176. Adds support for several new game music ↵Andree Buschmann2011-08-07
| | | | | | formats (AY, GBS, HES, KSS, SGC, VGM and VGZ) and replaces the current NSF and NSFE with a new implementation based on a port of the Game Music Emu library 'GME'. This first submit does not cover the full functionality provided by the author's original patch: Coleco-SGV is not supported, some GME-specific m3u-support has been removed and IRAM is not used yet. Further changes are very likely to follow this submit. Thanks to Mauricio Garrido. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30264 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#12218. Add support for embedded album art for ASF tags. For now ↵Andree Buschmann2011-08-07
| | | | | | the support is limited to embedded pictures of max 64 KB size. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30263 a1c6a512-1295-4272-9138-f99709370657
* Fix replaygain for wma files which was broken since r29388.Andree Buschmann2011-08-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30259 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#12196. Adds support for embedded album art (jpg) with APEv2 tags.Andree Buschmann2011-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30210 a1c6a512-1295-4272-9138-f99709370657
* Use id3v2buf to read the title of MOD files. Avoids additional declaration ↵Andree Buschmann2011-06-30
| | | | | | 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
* Remove tabs.Andree Buschmann2011-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29813 a1c6a512-1295-4272-9138-f99709370657
* Fix further 'variable set but not used' warnings reported from GCC 4.6.0.Andree Buschmann2011-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29809 a1c6a512-1295-4272-9138-f99709370657
* Get the NSF internal playlists working again. Fix a few wrongdoings in the ↵Michael Sevakis2011-04-28
| | | | | | 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
* Fix r29790 yellow. Need 'string-extra.h' for strlcpy().Michael Sevakis2011-04-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29791 a1c6a512-1295-4272-9138-f99709370657
* Get NSF fixed up a bit and parse metadata in the core.Michael Sevakis2011-04-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29790 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#12069 - Playback rework - first stages. Gives as thorough as ↵Michael Sevakis2011-04-27
| | | | | | 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
* Removed some dead code identified by clang-analyzer.Björn Stenberg2011-04-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29685 a1c6a512-1295-4272-9138-f99709370657
* Hopefully fix red now and reduce binsize for HWCODEC targets. This change ↵Andree Buschmann2011-03-16
| | | | | | implements a local read_uint32be() function within the mp3data parser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29606 a1c6a512-1295-4272-9138-f99709370657
* Fix red. read_uint32be() was not implemented in sim builds for HWCODEC targets.Andree Buschmann2011-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29605 a1c6a512-1295-4272-9138-f99709370657
* Disable debug output in wave format parser by default.Andree Buschmann2011-03-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29592 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#12009. Add embedded album art support for m4a. Thanks to Jason Yu.Andree Buschmann2011-03-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29591 a1c6a512-1295-4272-9138-f99709370657
* Remove some useless code and variables in the area of metadata parsing. Bump ↵Andree Buschmann2011-02-27
| | | | | | codec API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29438 a1c6a512-1295-4272-9138-f99709370657
* FS#11964. Rework replaygain handling to save metadata buffer and binsize. ↵Andree Buschmann2011-02-24
| | | | | | Remove string representation of replaygain and use a dedicated ftoa implementation for WPS/screen info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29388 a1c6a512-1295-4272-9138-f99709370657
* Submit FS11960. Limit metadata item size like done for ID3 tags since r29174.Andree Buschmann2011-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29377 a1c6a512-1295-4272-9138-f99709370657
* Proper initialize dummy destination address to ensure correct functionality ↵Andree Buschmann2011-02-22
| | | | | | for replaygain in mp4 metadata. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29376 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#11956. Call parse_replaygain() with correct parameters in ID3 tag ↵Andree Buschmann2011-02-22
| | | | | | parsing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29375 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#11955. ID3 tag parser was broken since r29349. Trimming strings must ↵Andree Buschmann2011-02-21
| | | | | | be done in the helper functions, not outside. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29372 a1c6a512-1295-4272-9138-f99709370657
* FS#11920: Do not overwrite already existing metadata and take into account ↵Andree Buschmann2011-02-20
| | | | | | string termination. This can save several bytes of the metadata buffer when tags have multiple entries (e.g. multiple gerne tags) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29349 a1c6a512-1295-4272-9138-f99709370657
* Ensure proper initialization of some variables and arrays in metadata ↵Andree Buschmann2011-02-17
| | | | | | parsing. Fixes FS#11948. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29323 a1c6a512-1295-4272-9138-f99709370657
* Correct the metadata's VBR flag for MP4 files. ALAC is native VBR, AAC very ↵Andree Buschmann2011-02-15
| | | | | | unlikely is CBR. The VBR flag is used by several WPS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29313 a1c6a512-1295-4272-9138-f99709370657
* 2nd try: All AAC-HE files will double the frame sample count, not only ↵Andree Buschmann2011-02-15
| | | | | | AAC-HE files with SBR upsampling. This change fixes issues with some m4a files reported in the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29312 a1c6a512-1295-4272-9138-f99709370657
* Undo unwanted commit r29310.Andree Buschmann2011-02-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29311 a1c6a512-1295-4272-9138-f99709370657
* All AAC-HE files will double the frame sample count, not only AAC-HE files ↵Andree Buschmann2011-02-15
| | | | | | with SBR upsampling. This change fixes issues with some m4a files reported in the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29310 a1c6a512-1295-4272-9138-f99709370657
* Fix red. Not all targets have album art support.Thomas Martitz2011-02-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29260 a1c6a512-1295-4272-9138-f99709370657
* Embedded album art support in MP3/ID3v2 tags.Thomas Martitz2011-02-09
| | | | | | | | | | | - Support is limited to non-desync jpeg in id3v2 tags. Other formats (hopefully) follow in the future. - Embedded album art takes precedence over files in album art files. - No additional buffers are used, the jpeg is read directly from the audio file. Flyspray: FS#11216 Author: Yoshihisa Uchida and I git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29259 a1c6a512-1295-4272-9138-f99709370657
* Changes in m4a parser: The metadata (e.g. sampling rate) for alac and aac ↵Andree Buschmann2011-02-03
| | | | | | must read from their dedicated metadata atom. Otherwise there might be wrong settings used. This patch also adds (commented) code which enables parsing for an alac metadata atom if neccessary. I have several sample files which require such parsing to find the metadata atom. Fixes FS#11719. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29201 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11918: Add 2 more codec types to be able to differentiate between ↵Andree Buschmann2011-02-03
| | | | | | AAC / AAC-HE and MPC SV7 / SV8. Additionally handle ATARI soundfiles in get_codec_base_type() as intended. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29199 a1c6a512-1295-4272-9138-f99709370657