Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
fac6e9ec
Commit
fac6e9ec
authored
Nov 06, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/jack: renamed option "ports" to "destination_ports"
Be more clear which kind of port should be configured here.
parent
dbbead6e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
NEWS
NEWS
+1
-0
user.xml
doc/user.xml
+1
-1
jack_output_plugin.c
src/output/jack_output_plugin.c
+9
-1
No files found.
NEWS
View file @
fac6e9ec
...
@@ -38,6 +38,7 @@ ver 0.16 (20??/??/??)
...
@@ -38,6 +38,7 @@ ver 0.16 (20??/??/??)
- jack: connect to server on MPD startup
- jack: connect to server on MPD startup
- jack: added option "client_name"
- jack: added option "client_name"
- jack: clear ring buffers before activating
- jack: clear ring buffers before activating
- jack: renamed option "ports" to "destination_ports"
- jack: support mono input
- jack: support mono input
- httpd: bind port when output is enabled
- httpd: bind port when output is enabled
- wildcards allowed in audio_format configuration
- wildcards allowed in audio_format configuration
...
...
doc/user.xml
View file @
fac6e9ec
...
@@ -758,7 +758,7 @@ cd mpd-version</programlisting>
...
@@ -758,7 +758,7 @@ cd mpd-version</programlisting>
</row>
</row>
<row>
<row>
<entry>
<entry>
<varname>
ports
</varname>
<varname>
destination_
ports
</varname>
<parameter>
A,B
</parameter>
<parameter>
A,B
</parameter>
</entry>
</entry>
<entry>
<entry>
...
...
src/output/jack_output_plugin.c
View file @
fac6e9ec
...
@@ -238,7 +238,15 @@ mpd_jack_init(G_GNUC_UNUSED const struct audio_format *audio_format,
...
@@ -238,7 +238,15 @@ mpd_jack_init(G_GNUC_UNUSED const struct audio_format *audio_format,
if
(
!
config_get_block_bool
(
param
,
"autostart"
,
false
))
if
(
!
config_get_block_bool
(
param
,
"autostart"
,
false
))
jd
->
options
|=
JackNoStartServer
;
jd
->
options
|=
JackNoStartServer
;
value
=
config_get_block_string
(
param
,
"ports"
,
NULL
);
value
=
config_get_block_string
(
param
,
"destination_ports"
,
NULL
);
if
(
value
==
NULL
)
{
/* compatibility with MPD < 0.16 */
value
=
config_get_block_string
(
param
,
"ports"
,
NULL
);
if
(
value
!=
NULL
)
g_warning
(
"deprecated option 'ports' in line %d"
,
param
->
line
);
}
if
(
value
!=
NULL
)
{
if
(
value
!=
NULL
)
{
char
**
ports
=
g_strsplit
(
value
,
","
,
0
);
char
**
ports
=
g_strsplit
(
value
,
","
,
0
);
...
...
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