rockbox/apps/plugins/mpegplayer
Michael Sevakis d37bf24d90 Enable setting of global output samplerate on certain targets.
Replaces the NATIVE_FREQUENCY constant with a configurable frequency.

The user may select 48000Hz if the hardware supports it. The default is
still 44100Hz and the minimum is 44100Hz. The setting is located in the
playback settings, under "Frequency".

"Frequency" was duplicated in english.lang for now to avoid having to
fix every .lang file for the moment and throwing everything out of sync
because of the new play_frequency feature in features.txt. The next
cleanup should combine it with the one included for recording and
generalize the ID label.

If the hardware doesn't support 48000Hz, no setting will be available.

On particular hardware where very high rates are practical and desireable,
the upper bound can be extended by patching.

The PCM mixer can be configured to play at the full hardware frequency
range. The DSP core can configure to the hardware minimum up to the
maximum playback setting (some buffers must be reserved according to
the maximum rate).

If only 44100Hz is supported or possible on a given target for playback,
using the DSP and mixer at other samperates is possible if the hardware
offers them.

Change-Id: I6023cf0c0baa8bc6292b6919b4dd3618a6a25622
Reviewed-on: http://gerrit.rockbox.org/479
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested-by: Michael Sevakis <jethead71@rockbox.org>
2013-07-06 04:22:04 +02:00
..
libmpeg2 mpegplayer: Move libmpeg2 files into their own subdirectory so things are less cluttered. 2011-02-22 21:44:15 +00:00
alloc.c Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
audio_thread.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
disk_buf.c Revert accidental commit of "%z" support in r26071 (the implementation assumed size_t==long, which is not always the case in hosted environments) 2010-07-18 12:42:47 +00:00
disk_buf.h
mpeg_alloc.h
mpeg_misc.c Correct actionable offense for misappropriation of action context. 2012-03-03 07:52:13 -05:00
mpeg_misc.h MPEGPlayer: Some UI tweaking and bugfixing 2010-12-22 11:20:07 +00:00
mpeg_parser.c Fix another comment typo 2011-01-04 21:28:20 +00:00
mpeg_settings.c New crossfeed algorithm for Rockbox: "Meier" crossfeed 2012-05-28 11:34:15 +02:00
mpeg_settings.h SA9200: Add YUV blitting, do full-screen updates more efficiently and properly clip partial updates. Plugin struct becomes incompatible for this target but leave version alone since it's still dev-only. 2011-01-11 01:21:31 +00:00
mpeg_stream.h
mpegplayer.c Don't reinvent ctype.h functions 2012-05-07 18:43:12 +02:00
mpegplayer.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
mpegplayer.make MIPS uses GCC 4.1.2 which was wrongly detected as supporting '-fgnu89-inline'. Now only set this parameter if GCCNUM > 401. 2011-09-08 06:23:33 +00:00
parser.h MPEGPlayer: Move some code that's probably better situated in the stream manager rather than the parser. Fix visibility checking in video out. Extra message sending for new stream isn't needed; just do full decoder sequence reset when requesting dimensions. 2010-12-19 08:28:03 +00:00
pcm_output.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pcm_output.h MPEGPlayer: Fixup typecasting for PCM buffer a bit. 2012-04-26 16:04:42 -04:00
SOURCES mpegplayer: Move libmpeg2 files into their own subdirectory so things are less cluttered. 2011-02-22 21:44:15 +00:00
stream_mgr.c Silence some (harmless) warnings. 2013-06-16 18:23:18 +02:00
stream_mgr.h MPEGPlayer graphics mutation: Implement a more visible FPS display and remove the debugging info from it. Tweak thumbnailing and printing of unavailable frames. 2011-01-03 16:41:19 +00:00
stream_thread.h MPEGPlyaer: A bit of audio mutation. Remove a useless thread state. Take some control over the buffer away from the audio thread itself. Some atomicity corrections. 2011-01-07 05:17:28 +00:00
video_out.h MPEGPlayer graphics mutation: Implement a more visible FPS display and remove the debugging info from it. Tweak thumbnailing and printing of unavailable frames. 2011-01-03 16:41:19 +00:00
video_out_rockbox.c mpegplayer: Move libmpeg2 files into their own subdirectory so things are less cluttered. 2011-02-22 21:44:15 +00:00
video_thread.c Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00