Module: Kernel

Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#frame2sec(frames) ⇒ Object



14
15
16
# File 'ext/cddb_mod.c', line 14

static VALUE crb_cddb_frame2sec(VALUE self,VALUE frames) {
  return INT2NUM(FRAMES_TO_SECONDS(NUM2INT(frames)));
}

#searchcat(cat) ⇒ Object



22
23
24
# File 'ext/cddb_mod.c', line 22

static VALUE crb_cddb_searchcat(VALUE self,VALUE cat) {
  return INT2NUM(SEARCHCAT(NUM2INT(cat)));
}

#sec2frame(frames) ⇒ Object



18
19
20
# File 'ext/cddb_mod.c', line 18

static VALUE crb_cddb_sec2frame(VALUE self,VALUE frames) {
  return INT2NUM(TO_SECONDS_TO_FRAMES(NUM2INT(frames)));
}