mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-07 04:06:06 -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
|
|
@ -71,7 +71,7 @@ int snd_hctl_open(snd_hctl_t **hctlp, const char *name, int mode)
|
|||
{
|
||||
snd_ctl_t *ctl;
|
||||
int err;
|
||||
|
||||
|
||||
if ((err = snd_ctl_open(&ctl, name, mode)) < 0)
|
||||
return err;
|
||||
err = snd_hctl_open_ctl(hctlp, ctl);
|
||||
|
|
@ -294,7 +294,7 @@ static int get_compare_weight(const snd_ctl_elem_id_t *id)
|
|||
};
|
||||
const char *name = (char *)id->name, *name1;
|
||||
int res, res1;
|
||||
|
||||
|
||||
if ((res = snd_hctl_compare_mixer_priority_lookup((const char **)&name, names, 1000000)) == NOT_FOUND)
|
||||
return NOT_FOUND;
|
||||
if (*name == '\0')
|
||||
|
|
@ -346,7 +346,7 @@ static int _snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id, in
|
|||
static int snd_hctl_elem_add(snd_hctl_t *hctl, snd_hctl_elem_t *elem)
|
||||
{
|
||||
int dir;
|
||||
int idx;
|
||||
int idx;
|
||||
elem->compare_weight = get_compare_weight(&elem->id);
|
||||
if (hctl->count == hctl->alloc) {
|
||||
snd_hctl_elem_t **h;
|
||||
|
|
@ -677,7 +677,7 @@ int snd_hctl_wait(snd_hctl_t *hctl, int timeout)
|
|||
struct pollfd *pfd;
|
||||
unsigned short *revents;
|
||||
int i, npfds, pollio, err, err_poll;
|
||||
|
||||
|
||||
npfds = snd_hctl_poll_descriptors_count(hctl);
|
||||
if (npfds <= 0 || npfds >= 16) {
|
||||
snd_error(CONTROL, "Invalid poll_fds %d", npfds);
|
||||
|
|
@ -781,7 +781,7 @@ int snd_hctl_handle_events(snd_hctl_t *hctl)
|
|||
snd_ctl_event_t event;
|
||||
int res;
|
||||
unsigned int count = 0;
|
||||
|
||||
|
||||
assert(hctl);
|
||||
assert(hctl->ctl);
|
||||
while ((res = snd_ctl_read(hctl->ctl, &event)) != 0 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue