mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-08 10:06:19 -05:00
huge correction of tabulators and whitespaces
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
b37ac0982b
commit
66a3d542ac
157 changed files with 2008 additions and 2008 deletions
|
|
@ -10,7 +10,7 @@
|
|||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Support for the verb/device/modifier core logic and API,
|
||||
|
|
@ -1027,7 +1027,7 @@ static int set_defaults(snd_use_case_mgr_t *uc_mgr, bool force)
|
|||
static int import_master_config(snd_use_case_mgr_t *uc_mgr)
|
||||
{
|
||||
int err;
|
||||
|
||||
|
||||
err = uc_mgr_import_master_config(uc_mgr);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
|
@ -1210,7 +1210,7 @@ static inline struct use_case_verb *find_verb(snd_use_case_mgr_t *uc_mgr,
|
|||
verb_name);
|
||||
}
|
||||
|
||||
static int is_devlist_supported(snd_use_case_mgr_t *uc_mgr,
|
||||
static int is_devlist_supported(snd_use_case_mgr_t *uc_mgr,
|
||||
struct dev_list *dev_list)
|
||||
{
|
||||
struct dev_list_node *device;
|
||||
|
|
@ -1243,13 +1243,13 @@ static int is_devlist_supported(snd_use_case_mgr_t *uc_mgr,
|
|||
return 1 - found_ret;
|
||||
}
|
||||
|
||||
static inline int is_modifier_supported(snd_use_case_mgr_t *uc_mgr,
|
||||
static inline int is_modifier_supported(snd_use_case_mgr_t *uc_mgr,
|
||||
struct use_case_modifier *modifier)
|
||||
{
|
||||
return is_devlist_supported(uc_mgr, &modifier->dev_list);
|
||||
}
|
||||
|
||||
static inline int is_device_supported(snd_use_case_mgr_t *uc_mgr,
|
||||
static inline int is_device_supported(snd_use_case_mgr_t *uc_mgr,
|
||||
struct use_case_device *device)
|
||||
{
|
||||
return is_devlist_supported(uc_mgr, &device->dev_list);
|
||||
|
|
@ -1639,7 +1639,7 @@ static int dismantle_use_case(snd_use_case_mgr_t *uc_mgr)
|
|||
uc_mgr->active_verb = NULL;
|
||||
|
||||
err = set_defaults(uc_mgr, true);
|
||||
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Support for the verb/device/modifier core logic and API,
|
||||
|
|
@ -847,7 +847,7 @@ static int parse_transition(snd_use_case_mgr_t *uc_mgr,
|
|||
free(tseq);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
err = parse_sequence(uc_mgr, &tseq->transition_list, n);
|
||||
if (err < 0) {
|
||||
uc_mgr_free_transition_element(tseq);
|
||||
|
|
@ -873,7 +873,7 @@ static int parse_compound(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg,
|
|||
|
||||
if (snd_config_get_id(cfg, &id) < 0)
|
||||
return -EINVAL;
|
||||
|
||||
|
||||
if (snd_config_get_type(cfg) != SND_CONFIG_TYPE_COMPOUND) {
|
||||
uc_error("compound type expected for %s", id);
|
||||
return -EINVAL;
|
||||
|
|
@ -886,7 +886,7 @@ static int parse_compound(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg,
|
|||
uc_error("compound type expected for %s, is %d", id, snd_config_get_type(cfg));
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
err = fcn(uc_mgr, n, data1, data2);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
|
@ -1898,7 +1898,7 @@ static int parse_verb(snd_use_case_mgr_t *uc_mgr,
|
|||
snd_config_iterator_t i, next;
|
||||
snd_config_t *n;
|
||||
int err;
|
||||
|
||||
|
||||
/* in-place evaluation */
|
||||
err = uc_mgr_evaluate_inplace(uc_mgr, cfg);
|
||||
if (err < 0)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Support for the verb/device/modifier core logic and API,
|
||||
|
|
@ -62,9 +62,9 @@
|
|||
#define SEQUENCE_ELEMENT_TYPE_DEV_DISABLE_ALL 15
|
||||
|
||||
struct ucm_value {
|
||||
struct list_head list;
|
||||
char *name;
|
||||
char *data;
|
||||
struct list_head list;
|
||||
char *name;
|
||||
char *data;
|
||||
};
|
||||
|
||||
/* sequence of a component device */
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Support for the verb/device/modifier core logic and API,
|
||||
|
|
@ -412,7 +412,7 @@ void uc_mgr_free_value(struct list_head *base)
|
|||
{
|
||||
struct list_head *pos, *npos;
|
||||
struct ucm_value *val;
|
||||
|
||||
|
||||
list_for_each_safe(pos, npos, base) {
|
||||
val = list_entry(pos, struct ucm_value, list);
|
||||
uc_mgr_free_value1(val);
|
||||
|
|
@ -423,7 +423,7 @@ void uc_mgr_free_dev_list(struct dev_list *dev_list)
|
|||
{
|
||||
struct list_head *pos, *npos;
|
||||
struct dev_list_node *dlist;
|
||||
|
||||
|
||||
list_for_each_safe(pos, npos, &dev_list->list) {
|
||||
dlist = list_entry(pos, struct dev_list_node, list);
|
||||
free(dlist->name);
|
||||
|
|
@ -534,7 +534,7 @@ void uc_mgr_free_sequence(struct list_head *base)
|
|||
{
|
||||
struct list_head *pos, *npos;
|
||||
struct sequence_element *seq;
|
||||
|
||||
|
||||
list_for_each_safe(pos, npos, base) {
|
||||
seq = list_entry(pos, struct sequence_element, list);
|
||||
list_del(&seq->list);
|
||||
|
|
@ -553,7 +553,7 @@ void uc_mgr_free_transition(struct list_head *base)
|
|||
{
|
||||
struct list_head *pos, *npos;
|
||||
struct transition_sequence *tseq;
|
||||
|
||||
|
||||
list_for_each_safe(pos, npos, base) {
|
||||
tseq = list_entry(pos, struct transition_sequence, list);
|
||||
list_del(&tseq->list);
|
||||
|
|
@ -579,7 +579,7 @@ void uc_mgr_free_modifier(struct list_head *base)
|
|||
{
|
||||
struct list_head *pos, *npos;
|
||||
struct use_case_modifier *mod;
|
||||
|
||||
|
||||
list_for_each_safe(pos, npos, base) {
|
||||
mod = list_entry(pos, struct use_case_modifier, list);
|
||||
free(mod->name);
|
||||
|
|
@ -611,7 +611,7 @@ void uc_mgr_free_device_list(struct list_head *base)
|
|||
{
|
||||
struct list_head *pos, *npos;
|
||||
struct use_case_device *dev;
|
||||
|
||||
|
||||
list_for_each_safe(pos, npos, base) {
|
||||
dev = list_entry(pos, struct use_case_device, list);
|
||||
uc_mgr_free_device(dev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue