diff options
Diffstat (limited to 'src/channel.h')
| -rw-r--r-- | src/channel.h | 14 | 
1 files changed, 11 insertions, 3 deletions
diff --git a/src/channel.h b/src/channel.h index d4ff6ee..ae9c24b 100644 --- a/src/channel.h +++ b/src/channel.h @@ -7,12 +7,20 @@  #include <mossrose.h> -struct channel_t { +struct channel_shared_t {  	volatile pint active;    /*  boolean */  	volatile pint paused;    /*  boolean */  	volatile pint volume;    /*    0-255 */ -	volatile pint pan_left;  /* -128-128 */ -	volatile pint pan_right; /* -128-128 */ +	volatile pint pan_left;  /* -255-255 */ +	volatile pint pan_right; /* -255-255 */ +}; + + +struct channel_t { +	struct channel_shared_t shared; +	bool skip; +	float gain_ll, gain_lr; +	float gain_rl, gain_rr;  	PMutex *sound_mutex;  	struct mossrose_sound_t sound;  | 
