Method: Seal::Stream#initialize

Defined in:
src/rubyext.c

#Seal::Stream.new(filename[, format]) ⇒ Object #Seal::Stream.open(filename[, format]) ⇒ Object

Opens a audio stream from filename. format specifies the format of the audio file; automatic recognition of the audio format will be attempted if format is nil. See Seal::Format for possible values.



472
473
474
475
476
477
478
479
# File 'src/rubyext.c', line 472

static
VALUE
init_stream(int argc, VALUE* argv, VALUE rstream)
{
    input_audio(argc, argv, DATA_PTR(rstream), seal_open_stream);

    return rstream;
}