mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Use playback channel directly for peakmeters and plugins using peak calculation. Also, for now, don't allow mixer playback to overlap recording, even if full duplex works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30119 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8c954e28b7
commit
22b6def065
10 changed files with 81 additions and 32 deletions
|
@ -660,7 +660,8 @@ void analog_meter(void) {
|
|||
int right_peak = rb->mas_codec_readreg(0xD);
|
||||
#elif (CONFIG_CODEC == SWCODEC)
|
||||
int left_peak, right_peak;
|
||||
rb->pcm_calculate_peaks(&left_peak, &right_peak);
|
||||
rb->mixer_channel_calculate_peaks(PCM_MIXER_CHAN_PLAYBACK,
|
||||
&left_peak, &right_peak);
|
||||
#endif
|
||||
|
||||
if(vumeter_settings.analog_use_db_scale) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue