output: added output_api.h
Just like decoder_api.h, output_api.h provides the audio output API which is used by the plugins.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../output_api.h"
|
||||
|
||||
#ifdef HAVE_ALSA
|
||||
|
||||
@@ -30,9 +30,8 @@
|
||||
#define MPD_ALSA_PERIOD_TIME_US 50000
|
||||
#define MPD_ALSA_RETRY_NR 5
|
||||
|
||||
#include "../conf.h"
|
||||
#include "../utils.h"
|
||||
#include "../log.h"
|
||||
#include "../os_compat.h"
|
||||
|
||||
#include <alsa/asoundlib.h>
|
||||
|
||||
|
||||
@@ -16,13 +16,12 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../output_api.h"
|
||||
|
||||
#ifdef HAVE_AO
|
||||
|
||||
#include "../conf.h"
|
||||
#include "../utils.h"
|
||||
#include "../log.h"
|
||||
#include "../os_compat.h"
|
||||
|
||||
#include <ao/ao.h>
|
||||
|
||||
|
||||
@@ -16,13 +16,11 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../os_compat.h"
|
||||
#include "../output_api.h"
|
||||
|
||||
#ifdef HAVE_FIFO
|
||||
|
||||
#include "../log.h"
|
||||
#include "../conf.h"
|
||||
#include "../utils.h"
|
||||
#include "../timer.h"
|
||||
|
||||
|
||||
@@ -15,12 +15,11 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../output_api.h"
|
||||
|
||||
#ifdef HAVE_JACK
|
||||
|
||||
#include "../os_compat.h"
|
||||
#include "../conf.h"
|
||||
#include "../utils.h"
|
||||
#include "../log.h"
|
||||
|
||||
#include <jack/jack.h>
|
||||
|
||||
@@ -19,12 +19,11 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../os_compat.h"
|
||||
#include "../output_api.h"
|
||||
|
||||
#ifdef HAVE_MVP
|
||||
|
||||
#include "../conf.h"
|
||||
#include "../utils.h"
|
||||
#include "../log.h"
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../output_api.h"
|
||||
#include "../timer.h"
|
||||
|
||||
static int null_initDriver(AudioOutput *audioOutput,
|
||||
|
||||
@@ -19,12 +19,11 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../os_compat.h"
|
||||
#include "../output_api.h"
|
||||
|
||||
#ifdef HAVE_OSS
|
||||
|
||||
#include "../conf.h"
|
||||
#include "../utils.h"
|
||||
#include "../log.h"
|
||||
|
||||
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
|
||||
@@ -16,12 +16,13 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../output_api.h"
|
||||
|
||||
#ifdef HAVE_OSX
|
||||
|
||||
#include <AudioUnit/AudioUnit.h>
|
||||
|
||||
#include "../utils.h"
|
||||
#include "../log.h"
|
||||
|
||||
typedef struct _OsxData {
|
||||
|
||||
@@ -16,13 +16,12 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../output_api.h"
|
||||
|
||||
#ifdef HAVE_PULSE
|
||||
|
||||
#include "../conf.h"
|
||||
#include "../utils.h"
|
||||
#include "../log.h"
|
||||
#include "../os_compat.h"
|
||||
|
||||
#include <pulse/simple.h>
|
||||
#include <pulse/error.h>
|
||||
|
||||
@@ -16,13 +16,12 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../audioOutput.h"
|
||||
#include "../output_api.h"
|
||||
|
||||
#ifdef HAVE_SHOUT
|
||||
|
||||
#include "../conf.h"
|
||||
#include "../utils.h"
|
||||
#include "../log.h"
|
||||
#include "../pcm_utils.h"
|
||||
#include "../timer.h"
|
||||
|
||||
#include <shout/shout.h>
|
||||
|
||||
Reference in New Issue
Block a user