Thanks for sharing. The ctypes stuff can be pretty tricky when you're just learning, so I'm sure someone will appreciate this.
On Tuesday, July 3, 2018 at 1:50:18 PM UTC+9, [email protected] wrote: > > Weird, giving me errors when trying to post... > > Thanks for taking the time to respond Neon22. My question was more about > what buffer type to pass to alcCaptureSamples, the given C/C++ examples all > used ALubyte or similar ctypes arrays but that didn't seem to be working, > and I wasn't sure what the python equivalent was for Pyglets bindings. > Turns out alBufferData uses a similar void buffer pointer as > alcCaptureSamples which i'm already familiar with, which is a generic > python string, so problem solved. After a bit of refining I've put together > an example for anyone whos interested in recording any audio with Pyglets > OpenAL bindings. > > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
