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
88abfc0d
Commit
88abfc0d
authored
Nov 05, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/jack: added option "client_name"
Instead of using MPD's audio output name (setting "name"), use a separate configuration option. Change the default to "Music Player Daemon".
parent
4ec25b5d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
NEWS
NEWS
+1
-0
mpd.conf.5
doc/mpd.conf.5
+2
-3
jack_output_plugin.c
src/output/jack_output_plugin.c
+2
-3
No files found.
NEWS
View file @
88abfc0d
...
...
@@ -34,6 +34,7 @@ ver 0.16 (20??/??/??)
- pulse: connect to server on MPD startup, implement pause
- jack: don't disconnect during pause
- jack: connect to server on MPD startup
- jack: added option "client_name"
- wildcards allowed in audio_format configuration
- alsa: don't recover on CANCEL
- consistently lock audio output objects
...
...
doc/mpd.conf.5
View file @
88abfc0d
...
...
@@ -348,13 +348,12 @@ after another until it successfully establishes a connection.
.TP
.B sink <sink>
The sink to output to. The default is to let PulseAudio choose a sink.
.SH
REQUIRED
JACK OUTPUT PARAMETERS
.SH
OPTIONAL
JACK OUTPUT PARAMETERS
.TP
.B name <name>
.B
client_
name <name>
The client name to use when connecting to JACK. The output ports <name>:left
and <name>:right will also be created for the left and right channels,
respectively.
.SH OPTIONAL JACK OUTPUT PARAMETERS
.TP
.B ports <left_port,right_port>
This specifies the left and right ports to connect to for the left and right
...
...
src/output/jack_output_plugin.c
View file @
88abfc0d
...
...
@@ -212,9 +212,8 @@ mpd_jack_init(G_GNUC_UNUSED const struct audio_format *audio_format,
const
char
*
value
;
jd
=
g_new
(
struct
jack_data
,
1
);
jd
->
name
=
config_get_block_string
(
param
,
"name"
,
"mpd_jack"
);
g_debug
(
"mpd_jack_init (pid=%d)"
,
getpid
());
jd
->
name
=
config_get_block_string
(
param
,
"client_name"
,
"Music Player Daemon"
);
value
=
config_get_block_string
(
param
,
"ports"
,
NULL
);
if
(
value
!=
NULL
)
{
...
...
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