/** * as10x_cmd_add_PID_filter - send add filter command to AS10x * @adap: pointer to AS10x bus adapter * @filter: TSFilter filter for DVB-T * * Return 0 on success or negative value in case of error.
*/ int as10x_cmd_add_PID_filter(struct as10x_bus_adapter_t *adap, struct as10x_ts_filter *filter)
{ int error; struct as10x_cmd_t *pcmd, *prsp;
if (error == 0) { /* Response OK -> get response data */
filter->idx = prsp->body.add_pid_filter.rsp.filter_id;
}
out: return error;
}
/** * as10x_cmd_del_PID_filter - Send delete filter command to AS10x * @adap: pointer to AS10x bus adapte * @pid_value: PID to delete * * Return 0 on success or negative value in case of error.
*/ int as10x_cmd_del_PID_filter(struct as10x_bus_adapter_t *adap,
uint16_t pid_value)
{ int error; struct as10x_cmd_t *pcmd, *prsp;
/** * as10x_cmd_start_streaming - Send start streaming command to AS10x * @adap: pointer to AS10x bus adapter * * Return 0 on success or negative value in case of error.
*/ int as10x_cmd_start_streaming(struct as10x_bus_adapter_t *adap)
{ int error; struct as10x_cmd_t *pcmd, *prsp;
/** * as10x_cmd_stop_streaming - Send stop streaming command to AS10x * @adap: pointer to AS10x bus adapter * * Return 0 on success or negative value in case of error.
*/ int as10x_cmd_stop_streaming(struct as10x_bus_adapter_t *adap)
{
int8_t error; struct as10x_cmd_t *pcmd, *prsp;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.