3
Copyright (C) 1999 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Library General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
15
#include "outPlugin.h"
20
OutPlugin::OutPlugin() {
24
OutPlugin::~OutPlugin() {
29
OutputStream* OutPlugin::createOutputStream(int outputType) {
31
// make checks which input routine to use
32
OutputStream* outputStream;
40
outputStream=new DspX11OutputStream(1024*64);
44
outputStream=new ArtsOutputStream(NULL);
48
outputStream=new OutputStream();
52
cout << "error cannot create default output stream"<<endl;
61
OutputStream* OutPlugin::createOutputStream(int outputType,int lThreadSafe) {
62
OutputStream* output=OutPlugin::createOutputStream(outputType);
63
if (lThreadSafe==false) {
66
OutputStream* tsOutput=new ThreadSafeOutputStream(output);