Brandon Low
4f3bb2ded7
Fix another nasty rebuffering bug, and ensure that buffer and unbuffer events are triggered correctly. Also remove another unused varialbe track_info->filepos
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9582 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 15:30:28 +00:00
Brandon Low
86f1e2ead2
Convert playback.c to use unsigned byte counters, and _minor_ refactoring of buffer callbacks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9227 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 13:43:15 +00:00
Miika Pekkarinen
d319116be4
iriver: Init audio on background.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8465 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 11:39:46 +00:00
Thom Johansen
27c658c8a6
Enabled playback speed adjustment support for H1x0. Modified the resampler to do both channels in one pass.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8099 a1c6a512-1295-4272-9138-f99709370657
2005-11-28 22:26:20 +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
3dbb3a271d
iRiver: fix for audio kept on while playing a file + new function to set audio status (to be used later)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7838 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 10:57:35 +00:00
Anton Oleynikov
00928af4dd
iRiver: more robust folder skip routines + folder navigation on main unit via
...
either PLAY+LEFT/RIGHT or short then long LEFT/RIGHT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7810 a1c6a512-1295-4272-9138-f99709370657
2005-11-10 22:31:47 +00:00
Thom Johansen
f60e6200f6
DSP_* constants moved from playback.h to dsp.h.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7529 a1c6a512-1295-4272-9138-f99709370657
2005-09-21 13:09:10 +00:00
Miika Pekkarinen
159c52dd36
Initial voice ui support for software codec platforms. Added also a
...
beep when changing tracks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 11:13:19 +00:00
Jens Arnold
a88d076ac4
Preparation for runtimedb hookup on archos: don't pass software playback system specific structures.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7345 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 06:05:15 +00:00
Linus Nielsen Feltzing
315304aef6
iriver: added a DSP_SWITCH_FREQUENCY config, for on-the-fly sample frequency changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7298 a1c6a512-1295-4272-9138-f99709370657
2005-08-10 22:56:24 +00:00
Magnus Holmgren
4a53787992
ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.
...
Note that there is a small delay from leaving a setting until the change
can be heard (due to audio data buffering).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:32:28 +00:00
Miika Pekkarinen
5c2c991d14
Applied patch "[ 1232957 ] MP3 metadata fixes for software codec".
...
Thanks to Magnus Holmgren. Now metadata reading is better with
improved performance for mp3 files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7030 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 19:55:40 +00:00
Michiel Van Der Kolk
765cd6d5e7
(in theory) more efficient (battery wise) runtime database code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6999 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 21:08:16 +00:00
Miika Pekkarinen
9bde0380a6
Updated the track_unbuffer event callback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6995 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 18:36:24 +00:00
Miika Pekkarinen
d54811fe22
Fixed mono playback support for mp3. Added two other event handlers in
...
playback.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6986 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 16:52:30 +00:00
Miika Pekkarinen
bbd42ad80b
Fixed seeking in mp3 files (and with other codecs which supports
...
seeking currently). Even long seeks should be possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6973 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 18:22:04 +00:00
Miika Pekkarinen
7d6d122441
Added event handler to register track changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6936 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:36:30 +00:00
Miika Pekkarinen
85f4973106
Replaced some size_t with longs. That might solve some problems. Fixed
...
also problem where codec buffer length indicator goes negative.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6898 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 19:29:49 +00:00
Miika Pekkarinen
d8cb703b1e
Initial DSP implementation. DSP supports resampling audio stream from
...
codecs (currently works corrently only with mp3's, somebody should fix
that).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6877 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 19:41:29 +00:00
Daniel Stenberg
1dd672fe32
moved and renamed the codecs, gave the codecs a new extension (.codec),
...
unified to a single codec-only API, made a new codeclib, disabled the building
of the *2wav plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6812 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:41:30 +00:00
Dave Chapman
961c9a3e41
Added %fc WPS tag to display codec type - moved codectype from track_info struct into mp3info struct, initialise it on MAS platforms, and add it to the WPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6748 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 16:24:27 +00:00
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
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
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
Miika Pekkarinen
68b9acd7de
Added some basic codec configuration functionality.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6652 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 15:02:10 +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