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
c3c776bc
Commit
c3c776bc
authored
Jan 07, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mixer_all: convert to C++
parent
9f4b906e
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
20 additions
and
27 deletions
+20
-27
Makefile.am
Makefile.am
+2
-4
Main.cxx
src/Main.cxx
+1
-1
MixerAll.cxx
src/MixerAll.cxx
+7
-4
MixerAll.hxx
src/MixerAll.hxx
+3
-5
OutputAll.cxx
src/OutputAll.cxx
+1
-1
OutputAll.hxx
src/OutputAll.hxx
+0
-0
OutputCommand.cxx
src/OutputCommand.cxx
+1
-1
OutputPrint.cxx
src/OutputPrint.cxx
+1
-4
OutputState.cxx
src/OutputState.cxx
+1
-4
PlayerCommands.cxx
src/PlayerCommands.cxx
+1
-1
PlayerThread.cxx
src/PlayerThread.cxx
+1
-1
Volume.cxx
src/Volume.cxx
+1
-1
No files found.
Makefile.am
View file @
c3c776bc
...
...
@@ -52,7 +52,6 @@ mpd_headers = \
src/audio_parser.h
\
src/output_internal.h
\
src/output_api.h
\
src/output_all.h
\
src/filter_internal.h
\
src/filter_config.h
\
src/filter_plugin.h
\
...
...
@@ -97,7 +96,6 @@ mpd_headers = \
src/server_socket.h
\
src/log.h
\
src/ls.h
\
src/mixer_all.h
\
src/mixer_api.h
\
src/mixer_control.h
\
src/mixer_list.h
\
...
...
@@ -780,7 +778,7 @@ OUTPUT_LIBS = \
OUTPUT_API_SRC
=
\
src/OutputList.cxx src/OutputList.hxx
\
src/OutputAll.cxx
\
src/OutputAll.cxx
src/OutputAll.hxx
\
src/OutputThread.cxx src/OutputThread.hxx
\
src/OutputError.hxx
\
src/OutputControl.cxx src/OutputControl.hxx
\
...
...
@@ -802,7 +800,7 @@ MIXER_LIBS = \
MIXER_API_SRC
=
\
src/mixer_control.c
\
src/mixer_type.c
\
src/
mixer_all.c
\
src/
MixerAll.cxx src/MixerAll.hxx
\
src/mixer_api.c
libmixer_plugins_a_SOURCES
=
\
...
...
src/Main.cxx
View file @
c3c776bc
...
...
@@ -35,6 +35,7 @@
#include "AllCommands.hxx"
#include "Partition.hxx"
#include "Volume.hxx"
#include "OutputAll.hxx"
extern
"C"
{
#include "daemon.h"
...
...
@@ -45,7 +46,6 @@ extern "C" {
#include "stats.h"
#include "sig_handlers.h"
#include "audio_config.h"
#include "output_all.h"
#include "log.h"
#include "pcm_resample.h"
#include "replay_gain_config.h"
...
...
src/
mixer_all.c
→
src/
MixerAll.cxx
View file @
c3c776bc
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -18,12 +18,15 @@
*/
#include "config.h"
#include "mixer_all.h"
#include "MixerAll.hxx"
#include "pcm_volume.h"
#include "OutputAll.hxx"
extern
"C"
{
#include "mixer_control.h"
#include "output_all.h"
#include "output_internal.h"
#include "pcm_volume.h"
#include "mixer_api.h"
}
#include <glib.h>
...
...
src/
mixer_all.h
→
src/
MixerAll.hxx
View file @
c3c776bc
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -22,10 +22,8 @@
* Functions which affect the mixers of all audio outputs.
*/
#ifndef MPD_MIXER_ALL_H
#define MPD_MIXER_ALL_H
#include <stdbool.h>
#ifndef MPD_MIXER_ALL_HXX
#define MPD_MIXER_ALL_HXX
/**
* Returns the average volume of all available mixers (range 0..100).
...
...
src/OutputAll.cxx
View file @
c3c776bc
...
...
@@ -18,9 +18,9 @@
*/
#include "config.h"
#include "OutputAll.hxx"
extern
"C"
{
#include "output_all.h"
#include "output_internal.h"
}
...
...
src/
output_all.h
→
src/
OutputAll.hxx
View file @
c3c776bc
File moved
src/OutputCommand.cxx
View file @
c3c776bc
...
...
@@ -26,10 +26,10 @@
#include "config.h"
#include "OutputCommand.hxx"
#include "OutputAll.hxx"
#include "PlayerControl.hxx"
extern
"C"
{
#include "output_all.h"
#include "output_internal.h"
#include "output_plugin.h"
#include "mixer_control.h"
...
...
src/OutputPrint.cxx
View file @
c3c776bc
...
...
@@ -24,13 +24,10 @@
#include "config.h"
#include "OutputPrint.hxx"
#include "OutputAll.hxx"
#include "output_internal.h"
#include "Client.hxx"
extern
"C"
{
#include "output_all.h"
}
void
printAudioDevices
(
Client
*
client
)
{
...
...
src/OutputState.cxx
View file @
c3c776bc
...
...
@@ -24,12 +24,9 @@
#include "config.h"
#include "OutputState.hxx"
#include "OutputAll.hxx"
#include "output_internal.h"
extern
"C"
{
#include "output_all.h"
}
#include <glib.h>
#include <assert.h>
...
...
src/PlayerCommands.cxx
View file @
c3c776bc
...
...
@@ -25,13 +25,13 @@
#include "UpdateGlue.hxx"
#include "ClientInternal.hxx"
#include "Volume.hxx"
#include "OutputAll.hxx"
#include "protocol/Result.hxx"
#include "protocol/ArgParser.hxx"
extern
"C"
{
#include "audio_format.h"
#include "replay_gain_config.h"
#include "output_all.h"
}
#include "PlayerControl.hxx"
...
...
src/PlayerThread.cxx
View file @
c3c776bc
...
...
@@ -29,9 +29,9 @@
#include "mpd_error.h"
#include "CrossFade.hxx"
#include "PlayerControl.hxx"
#include "OutputAll.hxx"
extern
"C"
{
#include "output_all.h"
#include "event_pipe.h"
#include "tag.h"
#include "idle.h"
...
...
src/Volume.cxx
View file @
c3c776bc
...
...
@@ -19,10 +19,10 @@
#include "config.h"
#include "Volume.hxx"
#include "MixerAll.hxx"
extern
"C"
{
#include "idle.h"
#include "mixer_all.h"
#include "event_pipe.h"
}
...
...
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