~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to mpeglib_artsplug/cddaPlayObject_impl.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  class for mp3-mpeglib decoder
 
3
  Copyright (C) 2000  Martin Vogt
 
4
 
 
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.
 
8
 
 
9
  For more information look at the file COPYRIGHT in this package
 
10
 
 
11
 */
 
12
 
 
13
#include "cddaPlayObject_impl.h"
 
14
#include "debug.h"
 
15
 
 
16
 
 
17
 
 
18
CDDAPlayObject_impl::CDDAPlayObject_impl() {
 
19
  arts_debug("CDDAPlayObject_impl");
 
20
}
 
21
 
 
22
CDDAPlayObject_impl::~CDDAPlayObject_impl() {
 
23
  arts_debug("~CDDAPlayObject_impl");
 
24
}
 
25
 
 
26
 
 
27
DecoderPlugin* CDDAPlayObject_impl::createPlugin() {
 
28
  cout << "CDDAPlayObject_impl::getPlugin"<<endl;
 
29
  return new CDDAPlugin();
 
30
}
 
31
 
 
32
InputStream* CDDAPlayObject_impl::createInputStream(const char* ) {
 
33
  cout << "CDDAPlayObject_impl::createInputStream"<<endl;
 
34
  InputStream* back;
 
35
  back=InputPlugin::createInputStream(__INPUT_CDDA,_INPUT_THREADSAFE);
 
36
  return back;
 
37
}
 
38
 
 
39
void CDDAPlayObject_impl::calculateBlock(unsigned long samples) {
 
40
  DecoderBaseObject_impl::calculateBlock(samples,left,right);
 
41
}
 
42
 
 
43
 
 
44
 
 
45
REGISTER_IMPLEMENTATION(CDDAPlayObject_impl);
 
46
 
 
47