summaryrefslogtreecommitdiffstats
path: root/server/snd_worker.c
Commit message (Collapse)AuthorAgeFilesLines
* use foo(void) instead of foo() in prototypesChristophe Fergeau2011-07-211-1/+1
| | | | | | | | In C, the latter isn't a prototype for a function with no arg, but declares a function with an undefined number of args. [picked from master with changes since no main_channel, spice_common, and a bunch of functions aren't there yet]
* s/__visible__/SPICE_GNUC_VISIBLEChristophe Fergeau2011-07-211-9/+9
| | | | | | | The C specification reserves use of identifiers starting with __ to the compiler so we shouldn't use one such symbol. [cherry-pick from master]
* server: add reds_channel_dispose()Marc-André Lureau2011-07-211-2/+1
| | | | | | | | | | Try to have a common base dispose() method for channels. For now, it just free the caps. Make use of it in snd_worker, and in sync_write() - sync_write() is going to have default caps later on. https://bugs.freedesktop.org/show_bug.cgi?id=34795
* server: rename s/peer/streamMarc-André Lureau2011-07-211-22/+22
| | | | | | | | This is stylish change again. We are talking about a RedStream object, so let's just name the variable "stream" everywhere, to avoid confusion with a non existent RedPeer object. https://bugs.freedesktop.org/show_bug.cgi?id=34795
* server: use the new reds_stream_{read,write}Marc-André Lureau2011-07-211-2/+4
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=34795
* server: add reds_stream_{read,write,free,remove_watch}()Marc-André Lureau2011-07-211-2/+2
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=34795
* server: s/RedsStreamContext/RedsStreamMarc-André Lureau2011-07-211-4/+4
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=34795
* Add destructor for demarshalled messagesAlexander Larsson2010-06-221-2/+3
| | | | | | | This is required because we don't want to free messages that just refer to the unparsed message (like SpiceMsgData). Also, in the future we might need it for more complex demarshalling.
* Make sound data @as_ptr to avoid copying dataAlexander Larsson2010-06-181-1/+1
|
* Use generated demarshallers in serverAlexander Larsson2010-06-181-22/+40
|
* Convert snd_worker.c to use SpiceMarshaller and generated marshallersAlexander Larsson2010-06-181-145/+94
|
* sound: code style fixupsGerd Hoffmann2010-05-261-2/+4
|
* sound channels: restart audio on client reconnect.Gerd Hoffmann2010-05-211-1/+15
|
* zap vd_interface.hGerd Hoffmann2010-05-191-1/+1
| | | | move over content to spice.h
* vd_interface.h cleanups.Gerd Hoffmann2010-05-191-2/+0
| | | | | Drop leftover bits which are not used any more. Rename DrawArea to QXLDrawArea.
* SoundInterfaces: redesignGerd Hoffmann2010-05-191-80/+80
|
* VDInterface: redesign.Gerd Hoffmann2010-05-191-3/+3
| | | | | | | | | | | | VDInterface has been renamed to SpiceBaseInterface. Dropped base_version element, shlib versioning should be used instead. Dropped id element, it is passed to spice_server_add_interface() instead. Now SpiceBaseInterface has static information only, multiple interface instances can share it. Added SpiceBaseInstance struct for maintaining per-instance state information. Adapted spice_server_{add,remove}_interface() functions to the new world.
* new watch api: switch soundGerd Hoffmann2010-05-191-11/+21
|
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* Use spice allocator in server/Alexander Larsson2010-03-111-20/+5
|
* Use macros from <spice/macros.h> rather than duplicate themAlexander Larsson2010-03-091-8/+8
|
* Rename symbols that were changed in spice-protocolAlexander Larsson2010-02-041-69/+69
| | | | | | This is an automatic change using: $ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames $ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
* fresh startYaniv Kamay2009-10-141-0/+1300