[Spice-devel] [PATCH v3 03/17] sound: Rename {Record, Playback}Channel to *ChannelClient

Christophe Fergeau cfergeau at redhat.com
Wed Nov 30 11:16:05 UTC 2016


On Tue, Nov 29, 2016 at 02:57:03PM +0000, Frediano Ziglio wrote:
>  static void snd_record_start(SndWorker *worker)
>  {
>      SndChannelClient *channel = worker->connection;
> -    RecordChannel *record_channel = SPICE_CONTAINEROF(channel, RecordChannel, base);
> +    RecordChannelClient *record_client = SPICE_CONTAINEROF(channel, RecordChannelClient, base);
>  
>      worker->active = 1;
>      if (!channel)
>          return;
>      spice_assert(!channel->active);
> -    record_channel->read_pos = record_channel->write_pos = 0;   //todo: improve by
> +    record_client->read_pos = record_client->write_pos = 0;   //todo: improve by
>                                                                  //stream generation

Alignment gets broken here

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161130/6dfc920d/attachment.sig>


More information about the Spice-devel mailing list