mixer_all: convert to C++
This commit is contained in:
@@ -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"
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2003-2011 The Music Player Daemon Project
|
||||
* Copyright (C) 2003-2013 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 "mixer_control.h"
|
||||
#include "output_all.h"
|
||||
#include "output_internal.h"
|
||||
#include "MixerAll.hxx"
|
||||
#include "pcm_volume.h"
|
||||
#include "OutputAll.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "mixer_control.h"
|
||||
#include "output_internal.h"
|
||||
#include "mixer_api.h"
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2003-2011 The Music Player Daemon Project
|
||||
* Copyright (C) 2003-2013 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).
|
@@ -18,9 +18,9 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "OutputAll.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "output_all.h"
|
||||
#include "output_internal.h"
|
||||
}
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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>
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user