2
class for mp3-mpeglib decoder
3
Copyright (C) 2000 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
13
#include "cddaPlayObject_impl.h"
18
CDDAPlayObject_impl::CDDAPlayObject_impl() {
19
arts_debug("CDDAPlayObject_impl");
22
CDDAPlayObject_impl::~CDDAPlayObject_impl() {
23
arts_debug("~CDDAPlayObject_impl");
27
DecoderPlugin* CDDAPlayObject_impl::createPlugin() {
28
cout << "CDDAPlayObject_impl::getPlugin"<<endl;
29
return new CDDAPlugin();
32
InputStream* CDDAPlayObject_impl::createInputStream(const char* ) {
33
cout << "CDDAPlayObject_impl::createInputStream"<<endl;
35
back=InputPlugin::createInputStream(__INPUT_CDDA,_INPUT_THREADSAFE);
39
void CDDAPlayObject_impl::calculateBlock(unsigned long samples) {
40
DecoderBaseObject_impl::calculateBlock(samples,left,right);
45
REGISTER_IMPLEMENTATION(CDDAPlayObject_impl);