1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Michael Sevakis 2008-02-01 02:25:15 +00:00
parent 7e402d8202
commit f90cbcb652
10 changed files with 298 additions and 76 deletions

View file

@ -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);