mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
add a few more gcc warning flags and fix quite a few problems found by doing so
This commit is contained in:
parent
047eb52b52
commit
b7026bf248
99 changed files with 810 additions and 776 deletions
|
|
@ -173,9 +173,9 @@ static void resolver_cb(
|
|||
device = value;
|
||||
value = NULL;
|
||||
} else if (strcmp(key, "rate") == 0)
|
||||
ss.rate = atoi(value);
|
||||
ss.rate = (uint32_t) atoi(value);
|
||||
else if (strcmp(key, "channels") == 0)
|
||||
ss.channels = atoi(value);
|
||||
ss.channels = (uint8_t) atoi(value);
|
||||
else if (strcmp(key, "format") == 0)
|
||||
ss.format = pa_parse_sample_format(value);
|
||||
else if (strcmp(key, "channel_map") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue