* @param input_channels Number of input channels
* @param input_signed Whether input samples are signed or unsigned
* @param input_rate Frames/second in input
* @param input_channels Number of input channels
* @param input_signed Whether input samples are signed or unsigned
* @param input_rate Frames/second in input
* @param output_bits Bits/sample in output
* @param output_channels Number of output channels
* @param output_rate Frames/second in output
* @param output_signed Whether output samples are signed or unsigned
* @param output_bits Bits/sample in output
* @param output_channels Number of output channels
* @param output_rate Frames/second in output
* @param output_signed Whether output samples are signed or unsigned
*
* For formats with more than two channels it's assume that the first
* two channels are left and right. No particular meaning is attached
*
* For formats with more than two channels it's assume that the first
* two channels are left and right. No particular meaning is attached
/** @brief Convert input samples to floats
* @param rs Resampler state
* @param bytes Input bytes
/** @brief Convert input samples to floats
* @param rs Resampler state
* @param bytes Input bytes
* @param floats Where to store converted data
*
* @p floats must be big enough. As well as converting to floats this
* @param floats Where to store converted data
*
* @p floats must be big enough. As well as converting to floats this
/* Report how many input bytes were actually consumed */
//fprintf(stderr, "converted %zu frames\n", nframesin);
return nframesin * rs->input_bytes_per_frame;
/* Report how many input bytes were actually consumed */
//fprintf(stderr, "converted %zu frames\n", nframesin);
return nframesin * rs->input_bytes_per_frame;