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

« back to all changes in this revision

Viewing changes to mpeglib_artsplug/oggPlayObject_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 ogg-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
 
 
14
 
 
15
 
 
16
#include "oggPlayObject_impl.h"
 
17
#include "debug.h"
 
18
 
 
19
 
 
20
 
 
21
 
 
22
OGGPlayObject_impl::OGGPlayObject_impl() {
 
23
  arts_debug("OGGPlayObject_impl");
 
24
}
 
25
 
 
26
OGGPlayObject_impl::~OGGPlayObject_impl() {
 
27
  arts_debug("~OGGPlayObject_impl");
 
28
}
 
29
 
 
30
 
 
31
DecoderPlugin* OGGPlayObject_impl::createPlugin() {
 
32
  arts_debug("OGGPlayObject_impl::getPlugin");
 
33
  return new VorbisPlugin();
 
34
}
 
35
 
 
36
void OGGPlayObject_impl::calculateBlock(unsigned long samples) {
 
37
  DecoderBaseObject_impl::calculateBlock(samples,left,right);
 
38
}
 
39
 
 
40
 
 
41
 
 
42
REGISTER_IMPLEMENTATION(OGGPlayObject_impl);
 
43