/* * Set the information of an audio stream to be signatured. * * Note: this MUST be called before attempting to generate a signature. * * samples: samples per second (Hz) of audio data (eg 44100) * channels: number of audio channels (eg 1 for mono, or two for stereo) * bits: bits per sample (eg 8 or 16) * * Aliases: * MusicBrainz::TRM#set_pcm_data * MusicBrainz::TRM#pcm_data_info * MusicBrainz::TRM#set_pcm_data_info * * Examples: * # prepare for CD-quality audio * samples, channels, bits = 44100, 2, 16 * trm.pcm_data samples, channels, bits * */ static VALUE mb_trm_set_pcm_data(VALUE self, VALUE samples, VALUE chans, VALUE bps) {