Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Fix audio thumbs incorrect

parent 4fbe4248
......@@ -33,8 +33,8 @@ Row {
showItem: waveform.visible && (index * waveform.maxWidth) < waveform.scrollEnd && (index * waveform.maxWidth + width) > waveform.scrollStart
format: timeline.audioThumbFormat
property int channels: 2
inPoint: Math.round((clipRoot.inPoint + index * waveform.maxWidth / clipRoot.timeScale) * clipRoot.speed) * channels
outPoint: clipRoot.inPoint + Math.round(width / clipRoot.timeScale * clipRoot.speed) * channels
inPoint: Math.round((clipRoot.inPoint + (index * waveform.maxWidth / clipRoot.timeScale)) * clipRoot.speed) * channels
outPoint: inPoint + Math.round(width / clipRoot.timeScale * clipRoot.speed) * channels
levels: clipRoot.audioLevels
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment