mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -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
|
|
@ -116,7 +116,7 @@ static int source_process_msg(pa_msgobject *o, int code, void *data, int64_t off
|
|||
if (u->source->thread_info.state == PA_SOURCE_RUNNING)
|
||||
pa_source_post(u->source, chunk);
|
||||
|
||||
u->saved_frame_time = offset;
|
||||
u->saved_frame_time = (jack_nframes_t) offset;
|
||||
u->saved_frame_time_valid = TRUE;
|
||||
|
||||
return 0;
|
||||
|
|
@ -309,7 +309,7 @@ int pa__init(pa_module*m) {
|
|||
|
||||
pa_log_info("Successfully connected as '%s'", jack_get_client_name(u->client));
|
||||
|
||||
ss.channels = u->channels = channels;
|
||||
u->channels = ss.channels = (uint8_t) channels;
|
||||
ss.rate = jack_get_sample_rate(u->client);
|
||||
ss.format = PA_SAMPLE_FLOAT32NE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue