Re: [Factor-talk] playing audio files on factor

2009-11-16 Thread Adam
Try the dlls at http://factorcode.org/dlls or http://factorcode.org/dlls/64 if you have x64. On Mon, Nov 16, 2009 at 7:51 AM, Kobi Lurie wrote: >  Hi all, is there a way to play a wav file from within factor? > the OpenAL dlls never worked for me on Windows pcs. > I know we can hook to the window

Re: [Factor-talk] help with some code

2009-11-16 Thread Slava Pestov
Hi Kobi, You need to ensure that the value passed in to 2cleave is constructed at compile time. To do this, move the 'map' call inside the macro. Also note that a macro's body must evaluate to a quotation, not a value; and declaring a macro as 'inline' has no effect. However, I'm puzzled as to wh

[Factor-talk] help with some code

2009-11-16 Thread Kobi Lurie
Hey guys, if you may I would like to ask another question I get an error about 2cleave cannot be compiled from the following code. And I feel in any case I'm going the wrong way here. Is what I'm doing makes sense? please give pointers. Also I'm new to macros, not sure I use them correctly. The p

[Factor-talk] playing audio files on factor

2009-11-16 Thread Kobi Lurie
Hi all, is there a way to play a wav file from within factor? the OpenAL dlls never worked for me on Windows pcs. I know we can hook to the windows API -- I think there's a function called PlaySound. but haven't tried yet. Are there plans to support audio playing on all the platforms? maybe I