diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2016-11-24 04:43:32 +0000 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2023-11-22 07:39:14 +0000 |
commit | b5e2fae0443d312f2cbede0c6b4a89568fa96cb2 (patch) | |
tree | 95aaff564ac7b40f243389af7383e276909d8d10 | |
parent | 5f5fc8b91b44707ab94753930a1faead7e737142 (diff) |
COMMENTSsound
-rw-r--r-- | server/sound.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sound.cpp b/server/sound.cpp index 2142f204..0fcc8e76 100644 --- a/server/sound.cpp +++ b/server/sound.cpp @@ -891,6 +891,8 @@ SPICE_GNUC_VISIBLE void spice_server_playback_get_buffer(SpicePlaybackInstance * uint32_t **samples, uint32_t *num_samples) { + // FIXME does not make sense, samples should be on channel so to + // make possible multiple clients. SndChannelClient *client = snd_channel_get_client(sin->st); *samples = nullptr; @@ -934,6 +936,7 @@ SPICE_GNUC_VISIBLE void spice_server_playback_put_samples(SpicePlaybackInstance } spice_assert(playback_client->active); + // overflow ??? support more pending ?? if (playback_client->pending_frame) { snd_playback_free_frame(playback_client, playback_client->pending_frame); } |