Difference between revisions of "Documentation:Modules/jack"

From VideoLAN Wiki
Jump to navigation Jump to search
(Updated to reflect current options. Should be GPL now)
 
(28 intermediate revisions by 8 users not shown)
Line 1: Line 1:
''for VLC media player 1.0.6 Goldeneye''
+
This module allows {{VLC}} to connect to [[JACK Audio Connection Kit]].
  
== JACK audio input (access_jack) ==
+
== Access ==
;<tt>--jack-input-caching <integer></tt>
+
{{Module|name=jack|type=Access|first_version=0.9.0|os=Unix, Linux, BSD|description=JACK input|sc=jack}}
:''Caching value in ms''
 
:Make VLC buffer audio data captured from jack for the specified length in milliseconds.
 
;<tt>--jack-input-use-vlc-pace</tt>, <tt>--no-jack-input-use-vlc-pace</tt>
 
:''Pace (default disabled)''
 
:Read the audio stream at VLC pace rather than Jack pace. (default disabled)
 
;<tt>--jack-input-auto-connect</tt>, <tt>--no-jack-input-auto-connect</tt>
 
:''Auto Connection (default disabled)''
 
:Automatically connect VLC input ports to available output ports. (default disabled)
 
  
== JACK audio output (jack) ==
+
The option <code>--jack-input-caching</code> no longer exists, removed with a commitdiff entitled {{Commitdiff|31ac20b22fc37bcf78991159bf8a0f138db05b44|l=Unify (ACCESS{{!}}DEMUX)_GET_PTS_DELAY}}.
;<tt>--jack-auto-connect</tt>, <tt>--no-jack-auto-connect</tt>
+
<!--
:''Automatically connect to writable clients (default disabled)''
+
{{Option
:If enabled, this option will automatically connect sound output to the first writable JACK clients found. (default disabled)
+
|name=jack-input-caching
;<tt>--jack-connect-regex <string></tt>
+
|value=integer
:''Connect to clients matching''
+
|description=Make VLC buffer audio data captured from JACK for the specified length in milliseconds
:If automatic connection is enabled, only JACK clients whose names match this regular expression will be considered for connection.
+
}}
 +
-->
 +
{{Option
 +
|name=jack-input-use-vlc-pace
 +
|value=boolean
 +
|default=disabled
 +
|description=Read the audio stream at VLC pace rather than Jack pace
 +
}}
 +
{{Option
 +
|name=jack-input-auto-connect
 +
|value=boolean
 +
|default=disabled
 +
|description=Automatically connect VLC input [[port]]s to available output ports
 +
}}
 +
{{Clear}}
  
== References ==
+
== Audio output ==
<code>
+
{{Module|name=jack|type=Audio output|first_version=0.8.5|os=Unix, Linux, BSD|description=JACK audio output|sc=none}}
vlc -p jack --advanced --help-verbose
+
{{Option
</code>
+
|name=jack-auto-connect
 +
|value=boolean
 +
|default=enabled
 +
|description=If enabled, this option will automatically connect sound output to the first writable JACK clients found
 +
}}
 +
{{Option
 +
|name=jack-connect-regex
 +
|value=string
 +
|default="system"
 +
|description=If automatic connection is enabled, only JACK clients whose names match this [[wikipedia:regular expression|regular expression]] will be considered for connection
 +
}}
 +
{{Option
 +
|name=jack-name
 +
|value=string
 +
|default=""
 +
|description=JACK client name
 +
}}
 +
{{Clear}}
 +
 
 +
== Source code ==
 +
* {{VLCSourceFile|modules/access/jack.c}}
 +
* {{VLCSourceFile|modules/audio_output/jack.c}}
 +
 
 +
{{Documentation}}

Latest revision as of 02:52, 18 May 2019

This module allows VLC media player to connect to JACK Audio Connection Kit.

Access

Module: jack
Type Access
First VLC version 0.9.0
Last VLC version -
Operating system(s) Unix, Linux, BSD
Description JACK input
Shortcut(s) jack

The option --jack-input-caching no longer exists, removed with a commitdiff entitled Unify (ACCESS|DEMUX)_GET_PTS_DELAY.

  • jack-input-use-vlc-pace <boolean> : Read the audio stream at VLC pace rather than Jack pace default value: disabled
  • jack-input-auto-connect <boolean> : Automatically connect VLC input ports to available output ports default value: disabled

Audio output

Module: jack
Type Audio output
First VLC version 0.8.5
Last VLC version -
Operating system(s) Unix, Linux, BSD
Description JACK audio output
Shortcut(s) (none)
  • jack-auto-connect <boolean> : If enabled, this option will automatically connect sound output to the first writable JACK clients found default value: enabled
  • jack-connect-regex <string> : If automatic connection is enabled, only JACK clients whose names match this regular expression will be considered for connection default value: "system"
  • jack-name <string> : JACK client name default value: ""

Source code

This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.