~ubuntu-branches/ubuntu/raring/spice/raring-proposed

« back to all changes in this revision

Viewing changes to client/audio_channels.h

  • Committer: Package Import Robot
  • Author(s): Dustin Kirkland, Serge Hallyn
  • Date: 2013-02-01 17:45:22 UTC
  • Revision ID: package-import@ubuntu.com-20130201174522-x5lb0l362hh40brr
Tags: 0.12.0-0ubuntu2
[ Serge Hallyn ]
debian/patches/fix-missing-PIXEL-pointer-cast: address compiler warning in
the spice-common code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#ifndef _H_AUDIO_CHANNELS
19
19
#define _H_AUDIO_CHANNELS
20
20
 
 
21
#if HAVE_CELT051
21
22
#include <celt051/celt.h>
 
23
#endif
22
24
 
23
25
#include "red_channel.h"
24
26
#include "debug.h"
45
47
    void handle_start(RedPeer::InMessage* message);
46
48
    void handle_stop(RedPeer::InMessage* message);
47
49
    void handle_raw_data(RedPeer::InMessage* message);
 
50
#if HAVE_CELT051
48
51
    void handle_celt_data(RedPeer::InMessage* message);
 
52
#endif
49
53
    void null_handler(RedPeer::InMessage* message);
50
54
    void disable();
51
55
 
57
61
    WavePlaybackAbstract* _wave_player;
58
62
    uint32_t _mode;
59
63
    uint32_t _frame_bytes;
 
64
#if HAVE_CELT051
60
65
    CELTMode *_celt_mode;
61
66
    CELTDecoder *_celt_decoder;
 
67
#endif
62
68
    bool _playing;
63
69
    uint32_t _frame_count;
64
70
};
96
102
    Mutex _messages_lock;
97
103
    std::list<RecordSamplesMessage *> _messages;
98
104
    int _mode;
 
105
#if HAVE_CELT051
99
106
    CELTMode *_celt_mode;
100
107
    CELTEncoder *_celt_encoder;
 
108
#endif
101
109
    uint32_t _frame_bytes;
102
110
 
103
111
    static int data_mode;