Hello,

Eugeniy Meshcheryakov, le Mon 23 Mar 2009 11:00:33 +0100, a écrit :
> I tried chuck with your patch on amd64. chuck.alsa gives no sound.
> chuck.oss gives some sound.

Oh, this morning chuck.oss does give me sound (alsa still doesn't).

> But it does not match at all the sound generated by chuck it 32-bit
> chroot (on the same machine, both chuck.alsa and chuck.oss work fine).

Ah?  Could you post your .ck file?  I tried the manual's

SinOsc s => dac;
while( true ) {
    100::ms => now;
    Std.rand2f(30.0, 1000.0) => s.freq;
}

it seemed to work fine.

> I think there are more problems then fixed by your patch. During
> compilation there are a lot of warnings (mismatch between int/long,
> int/size_t, dereferencing type-punned pointer) that can break chuck.

Yes, the amount of warnings is a bit scary :) The mismatches are only
for printing, however.  Since chuck defines a VM, it may be good to use
-fno-strict-aliasing to fix type-punning.

Samuel



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to