mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
compiler fixes
This commit is contained in:
parent
21e904d694
commit
78109838a9
2 changed files with 3 additions and 3 deletions
|
|
@ -20,6 +20,6 @@ pipewire_jack = shared_library('jack',
|
|||
soversion : 0,
|
||||
c_args : pipewire_jack_c_args,
|
||||
include_directories : [configinc],
|
||||
dependencies : [pipewire_dep, jack_dep],
|
||||
dependencies : [pipewire_dep, jack_dep, mathlib],
|
||||
install : false,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1843,8 +1843,8 @@ jack_client_t * jack_client_open (const char *client_name,
|
|||
mix2 = mix2_c;
|
||||
cpu_iface = spa_support_find(support, n_support, SPA_TYPE_INTERFACE_CPU);
|
||||
if (cpu_iface) {
|
||||
uint32_t flags = spa_cpu_get_flags(cpu_iface);
|
||||
#if defined (__SSE__)
|
||||
uint32_t flags = spa_cpu_get_flags(cpu_iface);
|
||||
if (flags & SPA_CPU_FLAG_SSE)
|
||||
mix2 = mix2_sse;
|
||||
#endif
|
||||
|
|
@ -3159,7 +3159,7 @@ int jack_get_cycle_times(const jack_client_t *client,
|
|||
*current_usecs = c->jack_position.usecs;
|
||||
*period_usecs = c->buffer_size / (c->sample_rate * c->rate_diff);
|
||||
*next_usecs = c->jack_position.usecs + (*period_usecs * 1000000.0f);
|
||||
pw_log_trace("client %p: %d %ld %ld %f", c, *current_frames,
|
||||
pw_log_trace("client %p: %d %"PRIu64" %"PRIu64" %f", c, *current_frames,
|
||||
*current_usecs, *next_usecs, *period_usecs);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue