Method: FFruby::AudioStream#channels
- Defined in:
- ext/ffruby/ffrubystream.c
#channels ⇒ Object
Returns the number of audio channels.
163 164 165 166 167 |
# File 'ext/ffruby/ffrubystream.c', line 163 static VALUE ffras_channels(VALUE self) { AVStream *stream = ffrs_get_stream(self); return INT2FIX(stream->codec->channels); } |