Method: Seal::Stream#frequency
- Defined in:
- src/rubyext.c
#frequency ⇒ Fixnum
Gets the frequency (sample rate) of the audio contained in streamed. The default is 0 when the stream is not opened.
488 489 490 491 492 493 |
# File 'src/rubyext.c', line 488 static VALUE get_stream_freq(VALUE rstream) { return INT2NUM(extract_stream(rstream)->attr.freq); } |