There is an example in mod/maxmod.mod/audiostream.mod/doc
-----
Trying to compile the mod (or rebuilding all mods) gives the following error on linux:
Compiling:audiostream.bmx
ar: creating /BlitzMax/mod/brl.mod/blitz.mod/blitz.debug.linux.x86.a
Compile Error: Can't find interface for module 'maxmod.amusic'
[/BlitzMax/mod/maxmod.mod/audiostream.mod/audiostream.bmx;22;1]
Build Error: failed to compile /BlitzMax/mod/maxmod.mod/audiostream.mod/audiostream.bmx
Process complete
after first compiling maxmod.amusic via comandline and changing lines 18, 23 and 72 in audiostream.bmx (the lines containing DirectSound references) the whole thing does compile on linux (open SuSE 10.3) and seems to work ok with freeaudio.
However loading xm/mod-files takes very long ( around 3 seconds for less then 2kb, more then 20 seconds for 926kb)
Streaming OGGs using the example-source does result in too fast played music with additional noise.
-----
Trying to compile the mod (or rebuilding all mods) gives the following error on linux:
Compiling:audiostream.bmx
ar: creating /BlitzMax/mod/brl.mod/blitz.mod/blitz.debug.linux.x86.a
Compile Error: Can't find interface for module 'maxmod.amusic'
[/BlitzMax/mod/maxmod.mod/audiostream.mod/audiostream.bmx;22;1]
Build Error: failed to compile /BlitzMax/mod/maxmod.mod/audiostream.mod/audiostream.bmx
Process complete
after first compiling maxmod.amusic via comandline and changing lines 18, 23 and 72 in audiostream.bmx (the lines containing DirectSound references) the whole thing does compile on linux (open SuSE 10.3) and seems to work ok with freeaudio.
However loading xm/mod-files takes very long ( around 3 seconds for less then 2kb, more then 20 seconds for 926kb)
Streaming OGGs using the example-source does result in too fast played music with additional noise.