syedhali / EZAudio

An iOS and macOS audio visualization framework built upon Core Audio useful for anyone doing real-time, low-latency audio processing and visualizations.
Other
4.94k stars 822 forks source link

When I clear the background color, it don't show the wave #254

Open itsaboutcode opened 8 years ago

itsaboutcode commented 8 years ago

When I set the background color of EZAudioPlotGL, it stop showing the wave (which is in white color).

    @IBOutlet weak var plot: EZAudioPlotGL?

    self.plot!.backgroundColor = UIColor.clearColor()
    self.plot!.opaque = false
ciso commented 8 years ago

For me it worked...

        self.audioPlot.backgroundColor = UIColor.clearColor()
        self.audioPlot.color = UIColor.fromRGB(0xfafafa)
akac commented 8 years ago

I've seen this happen as well randomly.