Set client in audio_stream.
This commit is contained in:
parent
2960331884
commit
0114621de3
@ -47,6 +47,7 @@ audio_stream* audio_stream_alloc(guac_client* client, audio_encoder* encoder) {
|
|||||||
|
|
||||||
/* Allocate stream */
|
/* Allocate stream */
|
||||||
audio_stream* audio = (audio_stream*) malloc(sizeof(audio_stream));
|
audio_stream* audio = (audio_stream*) malloc(sizeof(audio_stream));
|
||||||
|
audio->client = client;
|
||||||
|
|
||||||
/* Reset buffer stats */
|
/* Reset buffer stats */
|
||||||
audio->used = 0;
|
audio->used = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user