O
Oky --
I want to write a Windows network audio program in pure Ruby. However,
this requires me to call an API function called waveInOpen which takes a
callback function as one of its arguments.
The callback function looks like this:
void CALLBACK waveInProc(
HWAVEIN hwi,
UINT uMsg,
DWORD dwInstance,
DWORD dwParam1,
DWORD dwParam2
);
Is it possible to achieve this in Ruby or do I have to write a wrapper
DLL?
Thanks in advance
this requires me to call an API function called waveInOpen which takes a
callback function as one of its arguments.
The callback function looks like this:
void CALLBACK waveInProc(
HWAVEIN hwi,
UINT uMsg,
DWORD dwInstance,
DWORD dwParam1,
DWORD dwParam2
);
Is it possible to achieve this in Ruby or do I have to write a wrapper
DLL?
Thanks in advance