summaryrefslogtreecommitdiffstats
path: root/mpeglib_artsplug/decoderBaseObject.idl
blob: 678a9da161ee903a5c4c6a7969833c7234f28a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#include "kmedia2.idl"
#include "artsflow.idl"

/* the interfaces below are not kept binary compatible */

interface DecoderBaseObject :
    Arts::StreamPlayObject,
    Arts::SynthModule,
    Arts::PitchablePlayObject
{

  async in byte stream indata;
  /**
   * blocking flag - defaults to false - when set to true, mpeglib will not
   * try to minimize latencies by generating answers (i.e. empty blocks)
   * when the thread producing the data wasn't ready
   */
  attribute boolean blocking;
};


interface MP3PlayObject : DecoderBaseObject
{
  out audio stream left,right;
};


interface WAVPlayObject : DecoderBaseObject
{
  out audio stream left,right;
};


interface MPGPlayObject : DecoderBaseObject
{
  out audio stream left,right;
};


interface OGGPlayObject : DecoderBaseObject
{
  out audio stream left,right;
};

interface CDDAPlayObject : DecoderBaseObject
{
  out audio stream left,right;
};

interface VCDPlayObject : DecoderBaseObject
{
  out audio stream left,right;
};

interface NULLPlayObject : Arts::PlayObject , Arts::SynthModule
{
  out audio stream left,right;
};