Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-21 Thread Igor Stasenko
On 13 November 2013 18:08, Sean P. DeNigris s...@clipperadams.com wrote: Igor Stasenko wrote PaError Pa_OpenDefaultStream(NBExternalAddress * stream ... ) then your call site will look like following: streamHandle := NBExternalAddress new. Okay, one step closer. I somewhat randomly

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-21 Thread Igor Stasenko
On 21 November 2013 17:34, Sean P. DeNigris s...@clipperadams.com wrote: Igor Stasenko wrote a simplest way is to pass dumb and stupid NBExternalAddress null. Yes! That worked :) Thank you!! Igor Stasenko wrote except i think nil - void * is not accepted by default. Why is that

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-21 Thread Sean P. DeNigris
mm.. well, i prefer that fairly common would be to pass meaningful data back and forth rather than dummy values. I don't understand... when I say fairly common, I mean that in the C world, it seems common to use null-passing for optional arguments. I'm not saying that it's a good idea, but

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-21 Thread Sean P. DeNigris
Stéphane Ducasse wrote could you propose something for it: adding a class ReadMe? DocuMe? Adding it to the help? I'll organize my observations. A few that stood out: - In signature - you must type ulong, not unsigned long - when passing objects as arguments, don't need * unless

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-21 Thread Stéphane Ducasse
sean could you propose something for it: adding a class ReadMe? DocuMe? Adding it to the help? Stef On Nov 9, 2013, at 8:21 PM, Sean P. DeNigris s...@clipperadams.com wrote: The ESUG presentation this year was very comprehensive. I suggest making the slides and sample code more

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-21 Thread Igor Stasenko
On 21 November 2013 16:23, Igor Stasenko siguc...@gmail.com wrote: On 13 November 2013 18:08, Sean P. DeNigris s...@clipperadams.com wrote: Igor Stasenko wrote PaError Pa_OpenDefaultStream(NBExternalAddress * stream ... ) then your call site will look like following: streamHandle :=

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-21 Thread Sean P. DeNigris
Igor Stasenko wrote a simplest way is to pass dumb and stupid NBExternalAddress null. Yes! That worked :) Thank you!! Igor Stasenko wrote except i think nil - void * is not accepted by default. Why is that disabled by default? It seems like a fairly common operation... - Cheers, Sean

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-20 Thread Sean P. DeNigris
Sean P. DeNigris wrote Ping ;) I'm stuck... Perhaps Igor prefers bump... ;) - Cheers, Sean -- View this message in context: http://forum.world.st/NativeBoost-Documentation-Suggestion-and-Question-tp4720805p4723768.html Sent from the Pharo Smalltalk Developers mailing list archive at

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-15 Thread Sean P. DeNigris
Sean P. DeNigris wrote I'm getting a generic failure when I call Pa_OpenDefaultStream. Ping ;) I'm stuck... - Cheers, Sean -- View this message in context: http://forum.world.st/NativeBoost-Documentation-Suggestion-and-Question-tp4720805p4722549.html Sent from the Pharo Smalltalk

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-13 Thread Sean P. DeNigris
Igor Stasenko wrote PaError Pa_OpenDefaultStream(NBExternalAddress * stream ... ) then your call site will look like following: streamHandle := NBExternalAddress new. Okay, one step closer. I somewhat randomly guessed to use NBExternalAddress, but didn't have the correct thing in the

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-12 Thread Igor Stasenko
On 12 November 2013 02:43, Sean P. DeNigris s...@clipperadams.com wrote: Sean P. DeNigris wrote Using the presentation, I tried to communicate with the portaudio lib (OSX 10.8.5, lib installed with brew). ... Thanks in advance for any guidance... Bump. btw I should mention that the

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-12 Thread Sean P. DeNigris
Igor Stasenko wrote sorry, i was out on weekend.. You're not allowed to have a life. You're too important ;) Igor Stasenko wrote and check it is 32-bit compatible. Great! That was the first problem - 64bit only. Recompiled as universal and I'm able to communicate with the lib Igor Stasenko

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-12 Thread Sean P. DeNigris
Sean P. DeNigris wrote I'll let you know how it turns out. Okay, I got a little further. I can initialize and terminate the library. Yahoo!! To load the very basic spike: Gofer it smalltalkhubUser: 'SeanDeNigris' project: 'PortAudio'; package: 'PortAudio'; load. My

Re: [Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-11 Thread Sean P. DeNigris
Sean P. DeNigris wrote Using the presentation, I tried to communicate with the portaudio lib (OSX 10.8.5, lib installed with brew). ... Thanks in advance for any guidance... Bump. btw I should mention that the error was function unavailable - Cheers, Sean -- View this message in

[Pharo-dev] NativeBoost: Documentation Suggestion and Question

2013-11-09 Thread Sean P. DeNigris
The ESUG presentation this year was very comprehensive. I suggest making the slides and sample code more prominent/easily accessible from the code. Using the presentation, I tried to communicate with the portaudio lib (OSX 10.8.5, lib installed with brew). I did: PaInitialize primitive: