Optibits
Loading...
Searching...
No Matches
Audio.hpp
1#pragma once
2
3
4
5namespace Optibits
6{
8 class Channel
9 {
10
11 mutable int mChannel, mToken;
12
13 public:
14
15 Channel();
16
17 Channel(int channel, int token);
18
19 int currentChannel() const;
20
21 bool playing() const;
22 bool paused() const;
23
24 void pause();
25 void resume();
26
27 void stop();
28
29 void setVolume(double volume);
30 void setPan(double pan);
31 void setSpeed(double speed);
32
33 };
34
35
36
37}
Channel class.
Definition Audio.hpp:9