summaryrefslogtreecommitdiffstats
path: root/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common.c')
-rw-r--r--common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.c b/common.c
index 13f95b3..058311d 100644
--- a/common.c
+++ b/common.c
@@ -504,7 +504,7 @@ int sa_stream_get_device(sa_stream_t *s, const char **device_name) {
return SA_SUCCESS;
}
-int sa_stream_get_input_volume(sa_stream_t *s, const int *vol[]) {
+int sa_stream_get_input_volume(sa_stream_t *s, const int32_t *vol[]) {
sa_return_val_if_fail(s, SA_ERROR_INVALID);
sa_return_val_if_fail(vol, SA_ERROR_INVALID);
sa_return_val_if_fail(s->mode & SA_MODE_RDONLY, SA_ERROR_STATE);
@@ -514,7 +514,7 @@ int sa_stream_get_input_volume(sa_stream_t *s, const int *vol[]) {
return SA_SUCCESS;
}
-int sa_stream_get_output_volume(sa_stream_t *s, const int *vol[]) {
+int sa_stream_get_output_volume(sa_stream_t *s, const int32_t *vol[]) {
sa_return_val_if_fail(s, SA_ERROR_INVALID);
sa_return_val_if_fail(vol, SA_ERROR_INVALID);
sa_return_val_if_fail(s->mode & SA_MODE_WRONLY, SA_ERROR_STATE);