diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/audio.c | 2 | ||||
-rw-r--r-- | src/cmumble.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c index eaa4c85..81335d3 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 << 5) | (0); + data[pos++] = (udp_voice_celt_alpha << 5) | (udp_normal_talking); encode_varint(&data[pos], &write, ++ctx->sequence, 1024-pos); pos += write; diff --git a/src/cmumble.h b/src/cmumble.h index a1950b8..8caa9ef 100644 --- a/src/cmumble.h +++ b/src/cmumble.h @@ -60,6 +60,14 @@ enum udp_message_type { udp_voice_celt_beta }; +enum udp_message_target { + udp_normal_talking = 0, + udp_whisper_to_channel = 1, + udp_direct_whisper_min = 2, + udp_direct_whisper_max = 30, + udp_server_loopback = 31 +}; + void cmumble_protocol_init(struct cmumble_context *ctx); |