if (plugin == NULL)
return -EFAULT;
result = samples * plugin->src_format.voices * plugin->src_width;
- if ((result % 8) != 0)
+ if (result % 8 != 0)
return -EINVAL;
return result / 8;
}
if (plugin == NULL)
return -EFAULT;
result = samples * plugin->dst_format.voices * plugin->dst_width;
- if ((result % 8) != 0)
+ if (result % 8 != 0)
return -EINVAL;
return result / 8;
}
return -EFAULT;
result = size * 8;
tmp = plugin->src_format.voices * plugin->src_width;
- if ((result % tmp) != 0)
+ if (result % tmp != 0)
return -EINVAL;
return result / tmp;
}
return -EFAULT;
result = size * 8;
tmp = plugin->dst_format.voices * plugin->dst_width;
- if ((result % tmp) != 0)
+ if (result % tmp != 0)
return -EINVAL;
return result / tmp;
}