1
0
Fork 0
forked from len0rd/rockbox
Commit graph

2960 commits

Author SHA1 Message Date
Dave Chapman
3ad485b15a Move metadata parsing code from playback.c into metadata.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6714 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 22:27:57 +00:00
Tomas Salfischberger
88a89e0cdb There is no printf() in rockbox, but DEBUGF() has the intended effect in simulator.
And this was the last warning in iriver builds :D


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6713 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 19:04:47 +00:00
Miika Pekkarinen
184d82ec16 Oops, simulator compiles now fine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6712 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 19:01:33 +00:00
Miika Pekkarinen
8d5822d6ed Playlist changed are recognized correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6711 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 18:59:34 +00:00
Tomas Salfischberger
fe8663c548 See my message on the mailinglist. This should kill all warnings left in the iriver builds. And the changes will be added to the next musepack minor release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6710 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 18:48:35 +00:00
Tomas Salfischberger
9b9d6e7767 Another warning fixed (idtag.c:59: warning: implicit declaration of function `memcmp')
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6709 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 16:18:17 +00:00
Tomas Salfischberger
2ed84ec2ca The synthVoice() function declaration was wrong (caused a warning). And because of that GCC didn't notice the error on line 390: synthVoice(currentVoice).
In revision 1.4 Steven made currentVoice global, so the function declaration should be: synthVoice(void), wich fixes a warning. And the call should be just synthVoice() wich fixes a hidden error.

Hope I saw this right... please correct me if this isn't the way you ment is Seven.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6708 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 16:17:11 +00:00
Miika Pekkarinen
ef72f99681 Fixed a dead lock, file handle leak that caused wps to jam and
selected a smaller i2c timeout value.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6707 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 14:36:46 +00:00
Miika Pekkarinen
6ab53ba458 Even more quiet audio initialization.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6705 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 07:54:09 +00:00
Dave Chapman
24394b3316 Increase FILEBUF_CHUNKSIZE to 128K - fixes pauses in high-bitrate AC3s
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6703 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 22:46:09 +00:00
Miika Pekkarinen
58af47c8f2 Seeking forwards works a little better. Playlist handling still buggy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6702 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 22:09:12 +00:00
Dave Chapman
789791e659 Configure CODEC_SET_FILEBUF_CHUNKSIZE - improves FLAC performance
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6701 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 17:48:30 +00:00
Miika Pekkarinen
d94cba6d0f Forward seeking fixed. Some comments added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6700 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 15:26:53 +00:00
Dave Bryant
7dad7d3a6a Initial commit of actual WavPack codec... :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6699 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 06:15:05 +00:00
Dave Bryant
57c6f6e57e Initial pass at WavPack codec playback support (and my first commit...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6698 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 06:00:35 +00:00
Marcoen Hirschberg
7ac0b350b8 Remove TREE_RC_ENTER, it was redundant
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6697 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 21:11:22 +00:00
Marcoen Hirschberg
fb369b063b Make remote-control code more complete
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6696 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 20:18:37 +00:00
Miika Pekkarinen
7eb743e881 More codec loader corrections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6695 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 18:37:18 +00:00
Miika Pekkarinen
e0037adfae Codec loader fixed. Now switching between different codecs should work
better.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6694 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 18:16:35 +00:00
Tomas Salfischberger
b56f42494b Added menu button for remote (because the menu now supports the remote too).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6693 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 17:56:07 +00:00
Marcoen Hirschberg
c19e0f0d02 Add remote control support to tree and menu. Move defines from wps.c to wps.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6692 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 16:10:17 +00:00
Miika Pekkarinen
097444d07c Fixed some mp3 metadata reading performance problem. Next track
switching should be more reliable.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6691 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 15:14:20 +00:00
Thom Johansen
7cdae1ac65 First attempt at gapless MP3 support using LAME header info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6690 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 14:38:36 +00:00
Thom Johansen
ca19564eec Enabled minor Tremor opt.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6688 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:53:10 +00:00
Dave Chapman
a1d75d3c79 Calculate accurate Ogg duration and bitrate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6687 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:46:36 +00:00
Thom Johansen
0069b92212 Sync and fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6686 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:45:51 +00:00
Thom Johansen
649acec2fc Small Musepack optimisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6685 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:43:05 +00:00
Miika Pekkarinen
5f57069452 Fixed buffering problem with some files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6682 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 20:14:10 +00:00
Dave Chapman
8f0a0fed4e Estimate (poorly) the duration of an Ogg track, and display elapsed time in WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6681 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 19:14:40 +00:00
Miika Pekkarinen
94b917e9ee Setting current_fd to -1 at startup to prevent some rare crashes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6680 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 18:14:41 +00:00
Miika Pekkarinen
a380d90b98 Fixed MP3 forward seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6679 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 18:05:16 +00:00
Marcoen Hirschberg
7527bfb4d6 center-scrolling: start scrolling when the cursor is at 2/3 of the screen. There is still a bug when the fontsize changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6678 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 17:35:30 +00:00
Dave Chapman
b30962f9f3 Initial attempt at parsing the metadata in an Ogg file - it still doesn't calculate total track length
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6677 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 16:50:07 +00:00
Thom Johansen
5f12af28fb Big performance improvement for liba52. A couple of small ASM opts, and lots IRAM usage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6676 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:45:48 +00:00
Thom Johansen
c0f9ad61fb IRAM support for a52towav.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6675 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:44:35 +00:00
Dave Chapman
a9d9ef50bd Move another buffer into IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6674 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:39:52 +00:00
Jonas Häggqvist
3e76783101 Synced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6673 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:13:32 +00:00
Dave Chapman
c19563cba3 Maybe (or maybe not) support downsampling multi-channel AC3 files. liba52 is too slow to test properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6672 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:03:15 +00:00
Miika Pekkarinen
1c5b392080 Fixed codec buffering problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6671 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 13:47:01 +00:00
Dave Chapman
2f2d7d4913 First version of Musepack playback (not working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6670 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 12:40:27 +00:00
Dave Chapman
775923e363 Add .a52 and .mpc to supported list of audio files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6669 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 12:37:36 +00:00
Dave Chapman
55ed7d7214 First codeca52 (A52 aka AC3 playback) - it is already faster than realtime, with zero optimisations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6668 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 10:08:17 +00:00
Thom Johansen
c82518ce06 Replaced critical loop with assembler. A bit closer to realtime now. This codec really needs all the 64 bit muls replaced with EMAC equivalents.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6667 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 01:04:59 +00:00
Mats Lidell
197e3edce3 Synced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6666 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 00:09:11 +00:00
Pedro Vasconcelos
6b9350b4d3 A little improvement on Vorbis block synthesis.
Added myself to the list of contributors.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6664 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 22:34:57 +00:00
Miika Pekkarinen
cd1d87c8cf Small typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6663 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 21:47:48 +00:00
Miika Pekkarinen
d480fdc721 Yet another crash bug fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6662 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 21:46:59 +00:00
Miika Pekkarinen
9ff373cb65 Fixed a null pointer problem which caused crashing. Playback should be
now more stable.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6660 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 20:29:35 +00:00
Miika Pekkarinen
7e0b6880d9 Fixed wav playing problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6659 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 19:26:34 +00:00
Dave Chapman
ab81502f90 Use ci->request_buffer instead of ci->read_filebuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6658 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 19:12:58 +00:00