summaryrefslogtreecommitdiff
path: root/src/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c
index eae47e8..eaa4c85 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -43,7 +43,7 @@ pull_buffer(GstAppSink *sink, gpointer user_data)
return GST_FLOW_ERROR;
}
- data[pos++] = (udp_voice_celt_alpha) | (0 << 4);
+ data[pos++] = (udp_voice_celt_alpha << 5) | (0);
encode_varint(&data[pos], &write, ++ctx->sequence, 1024-pos);
pos += write;