/* * call-seq: * total_frames * * Get the total frames for this mp3 */ static VALUE total_frames(VALUE self) { mp3data_struct * mp3data; Data_Get_Struct(self, mp3data_struct, mp3data); return INT2NUM(mp3data->totalframes); }