summaryrefslogtreecommitdiffstats
path: root/sydney.h
diff options
context:
space:
mode:
Diffstat (limited to 'sydney.h')
-rw-r--r--sydney.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sydney.h b/sydney.h
index 5b3f009..1f53784 100644
--- a/sydney.h
+++ b/sydney.h
@@ -30,7 +30,7 @@ async-signal safe.
typedef struct sa_stream sa_stream_t;
/** Volume that corresponds to muted in/out */
-#define SA_VOLUME_MUTED 0x80000000
+#define SA_VOLUME_MUTED ((int32_t) (-0x80000000))
/** Ways to express seek offsets for pread/pwrite */
typedef enum {
@@ -273,10 +273,10 @@ int sa_stream_start_thread(sa_stream_t *s, sa_event_callback_t *callback);
int sa_stream_change_device(sa_stream_t *s, const char *device_name);
/** volume in hundreths of dB*/
-int sa_stream_change_input_volume(sa_stream_t *s, const int vol[]);
+int sa_stream_change_input_volume(sa_stream_t *s, const int32_t vol[]);
/** volume in hundreths of dB*/
-int sa_stream_change_output_volume(sa_stream_t *s, const int vol[]);
+int sa_stream_change_output_volume(sa_stream_t *s, const int32_t vol[]);
/** Change the sampling rate */
int sa_stream_change_rate(sa_stream_t *s, unsigned rate);