diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2008-02-01 02:25:15 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2008-02-01 02:25:15 +0000 |
| commit | f90cbcb652af3bf794ec61d7f7ec3de00c8b7cb2 (patch) | |
| tree | 62c13ffdeb5112181897103a6a015cfc1fab98ae /apps/plugins/mpegplayer/pcm_output.h | |
| parent | 7e402d8202af409a0ea8f3f2676a2e6f501af05b (diff) | |
| download | rockbox-f90cbcb652af3bf794ec61d7f7ec3de00c8b7cb2.zip rockbox-f90cbcb652af3bf794ec61d7f7ec3de00c8b7cb2.tar.gz rockbox-f90cbcb652af3bf794ec61d7f7ec3de00c8b7cb2.tar.bz2 rockbox-f90cbcb652af3bf794ec61d7f7ec3de00c8b7cb2.tar.xz | |
mpegplayer: Use the core DSP to process audio. Removes the sample rate restriction on audio and any mpeg audio samplerate may be used. Use the global sound settings for audio output with the option to force any one of the processing stages off. All are forced off by default. I didn't personally care to fully duplicate the Sound Settings menu which would have been needed since using the core one would affect settings globally and exactly the same configuration probably isn't desired since the CPU load for video playback is much greater. Rebalance the threading to compensate with some expense to buffering speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16194 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/pcm_output.h')
| -rw-r--r-- | apps/plugins/mpegplayer/pcm_output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/pcm_output.h b/apps/plugins/mpegplayer/pcm_output.h index 8a230b8..94ca6ee 100644 --- a/apps/plugins/mpegplayer/pcm_output.h +++ b/apps/plugins/mpegplayer/pcm_output.h @@ -29,6 +29,8 @@ struct pcm_frame_header /* Header added to pcm data every time a decoded unsigned char data[]; /* open array of audio data */ } ALIGNED_ATTR(4); +extern int pcm_skipped, pcm_underruns; + bool pcm_output_init(void); void pcm_output_exit(void); void pcm_output_flush(void); |