Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/sound.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/sound.c b/server/sound.c index 6650094..737f8b9 100644 --- a/server/sound.c +++ b/server/sound.c @@ -176,7 +176,7 @@ typedef struct RecordChannelClient { } RecordChannelClient; /* A list of all Spice{Playback,Record}State objects */ -static SndChannel *workers; +static SndChannel *snd_channels; static void snd_receive(SndChannelClient *client); static void snd_playback_start(SndChannel *worker); @@ -1122,7 +1122,7 @@ SPICE_GNUC_VISIBLE void spice_server_playback_put_samples(SpicePlaybackInstance void snd_set_playback_latency(RedClient *client, uint32_t latency) { - SndChannel *now = workers; + SndChannel *now = snd_channels; for (; now; now = now->next) { uint32_t type; @@ -1487,13 +1487,13 @@ static void snd_playback_migrate_channel_client(RedChannelClient *rcc) static void add_worker(SndChannel *worker) { - worker->next = workers; - workers = worker; + worker->next = snd_channels; + snd_channels = worker; } static void remove_worker(SndChannel *worker) { - SndChannel **now = &workers; + SndChannel **now = &snd_channels; while (*now) { if (*now == worker) { *now = worker->next; @@ -1599,7 +1599,7 @@ void snd_detach_record(SpiceRecordInstance *sin) void snd_set_playback_compression(int on) { - SndChannel *now = workers; + SndChannel *now = snd_channels; for (; now; now = now->next) { uint32_t type; -- git-series 0.9.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel