shi->nframes = h->frames_per_packet;
shi->channels = h->nb_channels;
if (shi->channels != 1) {
shi->nframes = h->frames_per_packet;
shi->channels = h->nb_channels;
if (shi->channels != 1) {
SpeexCallback callback = {
.callback_id = SPEEX_INBAND_STEREO,
.func = speex_std_stereo_request_handler,
.data = &shi->stereo,
};
SpeexCallback callback = {
.callback_id = SPEEX_INBAND_STEREO,
.func = speex_std_stereo_request_handler,
.data = &shi->stereo,
};