EZAudio icon indicating copy to clipboard operation
EZAudio copied to clipboard

Problem initializing EZAudioPlotGL

Open jacobsologub opened this issue 10 years ago • 3 comments

audioPlot = [[EZAudioPlotGL alloc] initWithFrame: CGRectMake (0.0f, 0.0f, 100.0f, 20.0f)];
audioPlot.backgroundColor = [UIColor blackColor];
audioPlot.color = [UIColor buttonColor];
audioPlot.plotType = EZPlotTypeBuffer;
audioPlot.shouldFill = YES;
audioPlot.shouldMirror = YES;
[audioPlotScrollView addSubview: audioPlot];

results in this:

Failed to bind EAGLDrawable: <CAEAGLLayer: 0x174421a80> to GL_RENDERBUFFER 1
Failed to make complete multisample framebuffer object 8cd6 
Failed to make complete framebuffer object 8cd6

Initializing an EZAudioPlot instance using the code above works.

jacobsologub avatar Nov 03 '14 05:11 jacobsologub

I'm seeing this too when trying to plot a file from ipod-library. I even tried copying the file into NSDocumentDirectory but it doesn't seem to help.

If it helps this looks like it's the same error (although caused by different problem): http://stackoverflow.com/questions/8990770/failed-to-make-complete-framebuffer-object-8cd6-ios-programmatically-created-o

ogoldfinger avatar Jan 15 '15 05:01 ogoldfinger

im getting the same issue, in my case i'm using the project as Framework, and EZAudio is part of the framework.

bishalg avatar Oct 28 '17 10:10 bishalg

In my case I had not give frame to EZAudioPlotGL, giving the frame in init solve the issue for me.

bishalg avatar Oct 28 '17 10:10 bishalg