Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
5a969f64
Commit
5a969f64
authored
Mar 21, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jack: Drop support for old (2012) JACK versions
parent
1bd986ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
configure
configure
+2
-5
jack.c
libavdevice/jack.c
+0
-4
No files found.
configure
View file @
5a969f64
...
...
@@ -1638,7 +1638,6 @@ SYSTEM_FUNCS="
gmtime_r
inet_aton
isatty
jack_port_get_latency_range
LoadLibrary
localtime_r
mach_absolute_time
...
...
@@ -4835,10 +4834,8 @@ check_header soundcard.h
enabled_any alsa_indev alsa_outdev
&&
check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp
-lasound
if
enabled libjack
;
then
check_pkg_config libjack jack jack/jack.h jack_port_get_latency_range
||
require_pkg_config libjack jack jack/jack.h jack_client_open
fi
enabled libjack
&&
require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range
enabled_any sndio_indev sndio_outdev
&&
check_lib sndio sndio.h sio_open
-lsndio
...
...
libavdevice/jack.c
View file @
5a969f64
...
...
@@ -93,13 +93,9 @@ static int process_callback(jack_nframes_t nframes, void *arg)
/* Copy and interleave audio data from the JACK buffer into the packet */
for
(
i
=
0
;
i
<
self
->
nports
;
i
++
)
{
#if HAVE_JACK_PORT_GET_LATENCY_RANGE
jack_latency_range_t
range
;
jack_port_get_latency_range
(
self
->
ports
[
i
],
JackCaptureLatency
,
&
range
);
latency
+=
range
.
max
;
#else
latency
+=
jack_port_get_total_latency
(
self
->
client
,
self
->
ports
[
i
]);
#endif
buffer
=
jack_port_get_buffer
(
self
->
ports
[
i
],
self
->
buffer_size
);
for
(
j
=
0
;
j
<
self
->
buffer_size
;
j
++
)
pkt_data
[
j
*
self
->
nports
+
i
]
=
buffer
[
j
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment