Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Audio API: manage multiple-channel volume
[src/app-framework-binder.git]
/
plugins
/
audio
/
audio-api.h
diff --git
a/plugins/audio/audio-api.h
b/plugins/audio/audio-api.h
index
12f70a8
..
b6669ec
100644
(file)
--- a/
plugins/audio/audio-api.h
+++ b/
plugins/audio/audio-api.h
@@
-36,10
+36,10
@@
typedef struct {
typedef struct {
audioDevT *radio; /* pointer to client audio card */
int idx; /* audio card index within global array */
typedef struct {
audioDevT *radio; /* pointer to client audio card */
int idx; /* audio card index within global array */
-
unsigned int volume; /* audio volume : 0-100
*/
+
int volume[8]; /* audio volume (8 channels) : 0-100
*/
unsigned int channels; /* audio channels : 1(mono)/2(stereo)... */
unsigned char mute; /* audio muted : 0(false)/1(true) */
unsigned int channels; /* audio channels : 1(mono)/2(stereo)... */
unsigned char mute; /* audio muted : 0(false)/1(true) */
- unsigned char is_playing; /* audio is playing: 0(false)/1(true) */
+ unsigned char is_playing; /* audio is playing: 0(false)/1(true)
*/
} audioCtxHandleT;
} audioCtxHandleT;