SM_INSTANCE_CHECK_FOR_PRIV(virtual_stream);
SM_STATE_CHECK_FOR_PRIV(virtual_stream, _VSTREAM_STATE_READY);
- if (virtual_stream->stream_info->stream_conf_info.route_type == STREAM_ROUTE_TYPE_MANUAL ||
- virtual_stream->stream_info->stream_conf_info.route_type == STREAM_ROUTE_TYPE_MANUAL_EXT) {
- /* check if the manual route info. is set when it comes to the manual route type */
- if (virtual_stream->stream_info->manual_route_info.is_set == false) {
- ret = MM_ERROR_SOUND_INVALID_STATE;
- goto ERROR;
- }
- }
-
/* fill up with default value */
ss.channels = 2;
ss.rate = 44100;
}
LOGE("pa_ret(%d)", pa_ret);
//LCOV_EXCL_STOP
-ERROR:
return ret;
}