IGModAudioChannel:CreateEncoder
IGModAudioChannelEncoder, string IGModAudioChannel:CreateEncoder( string fileName, number bassFlags )
Description
Creates a encoder and returns it, on failure it returns nil with the second return value containing the error reason
You can still provide a full filename into which the channel its bound to is slowly written
unlike IGModAudioChannel:EncodeToDisk this works on non-decode channels though it written bit by bit as the channel plays.
Valid encoders are:
wav(RequiresBASSENCplugin)aiff(RequiresBASSENCplugin)mp3(RequiresBASSENC_MP3plugin)ogg(RequiresBASSENC_OGGplugin)opus(RequiresBASSENC_OPUSplugin)flac(RequiresBASSENC_FLACplugin)
This function requires the
BASSENCplugin to work at all!
You can find all the plugins at https://www.un4seen.com/ drop them into thebin/folder besideslibbass.soRecently Added
This was recently added in version (0.8 - DEV).