Update live waveform using rtaudio

This commit is contained in:
Hariharan Mudaliar 2026-04-04 23:39:48 +05:30
commit f7f29adea9
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
19 changed files with 893 additions and 5 deletions

View file

@ -110,7 +110,7 @@ struct MinimalisticMusicView: View {
.fill(Defaults[.coloredSpectrogram] ? Color(nsColor: musicManager.avgColor).gradient : Color.gray.gradient)
.frame(width: 50, alignment: .center)
.mask {
AudioSpectrumView(isPlaying: $musicManager.isPlaying)
AudioVisualizerView(isPlaying: $musicManager.isPlaying)
.frame(width: 16, height: 12)
}
.frame(width: max(0, vm.effectiveClosedNotchHeight - (isHovering ? 0 : 12)),