mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-20 04:15:46 +01:00
yet more latency compilation fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@8870 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cdcaf9bfb8
commit
10d7c08fd9
1 changed files with 4 additions and 4 deletions
|
|
@ -238,22 +238,22 @@ Port::recompute_total_latency () const
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef HAVE_JACK_NEW_LATENCY
|
||||
void
|
||||
Port::set_latency_range (jack_latency_range_t& range, bool playback) const
|
||||
{
|
||||
#ifdef HAVE_JACK_NEW_LATENCY
|
||||
if (!jack_port_set_latency_range) {
|
||||
return;
|
||||
}
|
||||
|
||||
jack_port_set_latency_range (_jack_port, (playback ? JackPlaybackLatency : JackCaptureLatency), &range);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_JACK_NEW_LATENCY
|
||||
void
|
||||
Port::get_connected_latency_range (jack_latency_range_t& range, bool playback) const
|
||||
{
|
||||
#ifdef HAVE_JACK_NEW_LATENCY
|
||||
if (!jack_port_get_latency_range) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -294,8 +294,8 @@ Port::get_connected_latency_range (jack_latency_range_t& range, bool playback) c
|
|||
range.min = 0;
|
||||
range.max = 0;
|
||||
}
|
||||
#endif /* HAVE_JACK_NEW_LATENCY */
|
||||
}
|
||||
#endif /* HAVE_JACK_NEW_LATENCY */
|
||||
|
||||
framecnt_t
|
||||
Port::total_latency () const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue