Set client in audio_stream.

This commit is contained in:
Michael Jumper 2012-10-28 00:33:58 -07:00
parent 2960331884
commit 0114621de3

View File

@ -47,6 +47,7 @@ audio_stream* audio_stream_alloc(guac_client* client, audio_encoder* encoder) {
/* Allocate stream */
audio_stream* audio = (audio_stream*) malloc(sizeof(audio_stream));
audio->client = client;
/* Reset buffer stats */
audio->used = 0;