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
bc629c8a
Commit
bc629c8a
authored
Oct 20, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pulse: announce "media.role=music"
This allows PulseAudio to do some advanced tweaks.
parent
2e9e34aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
NEWS
NEWS
+1
-0
pulse_plugin.c
src/output/pulse_plugin.c
+2
-0
No files found.
NEWS
View file @
bc629c8a
...
...
@@ -29,6 +29,7 @@ ver 0.16 (20??/??/??)
* output:
- recorder: new output plugin for recording radio streams
- openal: new output plugin
- pulse: announce "media.role=music"
* mixers:
- removed support for legacy mixer configuration
- reimplemented software volume as mixer+filter plugin
...
...
src/output/pulse_plugin.c
View file @
bc629c8a
...
...
@@ -66,6 +66,8 @@ pulse_init(G_GNUC_UNUSED const struct audio_format *audio_format,
{
struct
pulse_data
*
pd
;
g_setenv
(
"PULSE_PROP_media.role"
,
"music"
,
true
);
pd
=
pulse_new_data
();
pd
->
name
=
config_get_block_string
(
param
,
"name"
,
"mpd_pulse"
);
pd
->
server
=
config_get_block_string
(
param
,
"server"
,
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