Gitiles
Code Review
Sign In
gerrit.rockbox.org
/
rockbox
/
f02cba80967b7e42d03962625394bf5d1691a59c
/
apps
/
pcmbuf.h
f02cba8
Code cleaning - remove some unnecessary defined(SIMULATOR) checks
by Dave Chapman
· 17 years ago
e1dd10d
SWCODEC: Get rid of extra swap buffer and get back 512K of RAM or 100K if the players RAM is <= 1MB. Make any needed changes to things to stabilize and facilitate this including removing flattening out initialization. Comment some things heavily. Fix a few logfs I didn't want to see the compiler complaining about.
by Michael Sevakis
· 18 years ago
aba6ca0
Fix resampling clicking as much as possible at the moment. 1) Upsampling clicked because of size inaccuracies returned by DSP. Fix by simplifying audio system to use per-channel sample count from codec to pcm buffer. 2) Downsampling affected by 1) and was often starting passed the end of the data when not enough was available to generate an output sample. Fix by clamping input range to last sample in buffer and using the last sample value in the buffer. A perfect fix will require a double buffering scheme on the resampler to sufficient data during small data transients on both ends at all times of the down ratio on input and the up ratio on output.
by Michael Sevakis
· 18 years ago
0f5cb94
Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
by Michael Sevakis
· 18 years ago
7058752
Removed ugly boosting solutions from playback code and let scheduler
by Miika Pekkarinen
· 18 years ago
10befc8
Don't unboost CPU in an ISR
by Steve Bavin
· 18 years ago
0a7ded3
Memory size checks in .c/.h files should use MEM, not MEMORYSIZE
by Dave Chapman
· 18 years ago
28910e7
Various lower limits and sizes for targets with 1MB of RAM (Iriver iFP7xx).
by Tomasz Malesinski
· 18 years ago
ddaf5f0
Revert a previous change, works around the problem of freezing on stop-while-paused, and skipping with crossfade
by Brandon Low
· 18 years ago
6c0908b
Rework crossfade to properly follow pcmbuf chunks instaed of blindly inserting into the ring buffer
by Brandon Low
· 18 years ago
f3bc1ef
First commit of reworking voice to be mroe stable on swcodec
by Brandon Low
· 18 years ago
9535a9a
Fix some of the voice and beep bugs that people have noticed since my new pcmbuf code went in, reduce code duplication, and improve performance while I'm at it
by Brandon Low
· 19 years ago
413da2a
Rework PCM buffer
by Brandon Low
· 19 years ago
4408b6b
Reduce latency when configuring the EQ.
by Miika Pekkarinen
· 19 years ago
a4f8d1c
Don't use crossfader mix mode when skipping tracks manually.
by Miika Pekkarinen
· 19 years ago
a3868d3
Continue to update playback status after decoding is complete (the progress bar makes it to 100%!)
by Brandon Low
· 19 years ago
e7461b3
iRiver: New crossfader with more configuration capability. Might still
by Miika Pekkarinen
· 19 years ago
65d43a2
Define empty macros for cpu boosting on targets with no such a feature.
by Miika Pekkarinen
· 19 years ago
29aad55
Fixed iriver cpu boosting problems.
by Miika Pekkarinen
· 19 years ago
159c52d
Initial voice ui support for software codec platforms. Added also a
by Miika Pekkarinen
· 19 years ago
90161c9
It's now possible to select the crossfading mode: "Off, Crossfade,
by Miika Pekkarinen
· 19 years ago
f090dc3
Crossfade (and pcm buffer size) length is now configurable.
by Miika Pekkarinen
· 19 years ago
20b3897
Separated buffering stuff from pcm_playback to pcmbuf. Renamed some
by Miika Pekkarinen
· 19 years ago