forked from len0rd/rockbox
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
|
|
@ -826,7 +826,8 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
left = rb->mas_codec_readreg(0xC);
|
||||
right = rb->mas_codec_readreg(0xD);
|
||||
#elif (CONFIG_CODEC == SWCODEC)
|
||||
rb->pcm_calculate_peaks(&left, &right);
|
||||
rb->mixer_channel_calculate_peaks(PCM_MIXER_CHAN_PLAYBACK,
|
||||
&left, &right);
|
||||
#endif
|
||||
if (osc.orientation == OSC_HORIZ)
|
||||
anim_horizontal(left, right);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue