Hi!

On May 29, 2010, at 6:21 AM, nagachika wrote:

> Hi,
> I'm nagachika from Japan. I'm glad to find who interested in audio
> frameworks in this ML!
> 
> If what you want is just play audio format file, using NSSound may be
> easiest way to do it.
> 
> I'm just trying to use CoreAudio framework with MacRuby to control
> audio devices.
> I can get/set some property of audio devices. For example get audio devices 
> list
> and change sampling rate of them.
> But I cannot output waveform data to audio output device.
> It seems than Proc registered as callback function isn't called.
> I just want to file a ticket about it.

Please do! We will investigate why the proc isn't being called. The Proc -> 
function pointer machinery is pretty new so maybe there are a few bugs around 
:-)

It would be great to have a sample project using CoreAudio at some point.

> BTW, I would like to try use AudioUnit framework via MacRuby.
> AudioUnit has no BridgeSupport file in system directories.
> But I found 'gen_bridge_metadata' recently, I think MacRuby can use
> AudioUnit too.

It may work, but the current gen_bridge_metadata script is quite fragile and is 
full of bugs. Internally we have been rewriting it with much better foundations 
(clang) and we hope to publish the new version on macosforge in the future.

Laurent
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to