Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing up docs

  • Loading branch information...
commit b8e3f183346412cab9850d5f4857cd1dae1d7936 1 parent 27d0ab7
@tenderlove authored
Showing with 13 additions and 1 deletion.
  1. +13 −1 ext/icanhasaudio/audio_mpeg_decoder.c
View
14 ext/icanhasaudio/audio_mpeg_decoder.c
@@ -112,7 +112,7 @@ static int lame_decode_initfile(VALUE file, mp3data_struct * mp3data) {
/*
* call-seq:
- * decoder.decode(input_io, output_io)
+ * decode(input_io, output_io)
*
* Decode the input IO and write it to the output IO.
*/
@@ -137,6 +137,12 @@ static VALUE decode(VALUE self, VALUE file, VALUE outf) {
return Qnil;
}
+/*
+ * call-seq:
+ * num_samples=(number)
+ *
+ * Set the number of samples
+ */
static VALUE set_num_samples(VALUE self, VALUE sample_count)
{
lame_global_flags * gfp;
@@ -145,6 +151,12 @@ static VALUE set_num_samples(VALUE self, VALUE sample_count)
return sample_count;
}
+/*
+ * call-seq:
+ * in_samplerate
+ *
+ * Get the input samplerate
+ */
static VALUE get_in_samplerate(VALUE self)
{
lame_global_flags * gfp;
Please sign in to comment.
Something went wrong with that request. Please try again.