/* * call-seq: * num_channels * * Get the number of channels */ static VALUE get_num_channels(VALUE self) { lame_global_flags * gfp; Data_Get_Struct(self, lame_global_flags, gfp); return INT2NUM(lame_get_num_channels(gfp)); }