summaryrefslogtreecommitdiff
path: root/src/cmumble.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-22audio: Pull and send the recorded buffer from the main threadBenjamin Franzke1-0/+5
Tests showed this lets the appsink pull more buffers, since the streaming thread is not blocked due to network write.
2013-11-22cmumble.c: Use message typedefs in callbacksBenjamin Franzke1-13/+11
2013-11-22Coding style fixesBenjamin Franzke1-1/+1
* remove trailing whitespace * inline where fit for 80 columns
2013-11-22cmumble.c: Fix function name typoBenjamin Franzke1-1/+1
2013-11-22Check for udp type in tunnel messageBenjamin Franzke1-2/+14
Since we're currently support celt only, do nothing when retrieving other codecs.
2013-11-22Pass message type implicity in cmumble_send_*Benjamin Franzke1-9/+9
This also removes the unneeded "struct mumble_*" which is ugly in use.
2013-11-21Create playback pipeline not for ourselfsBenjamin Franzke1-1/+5
FIXME: This should rather be created ondemand, and the problem is gone at all. To be done later.
2013-11-21recv_user_state: Check for availability of the session idBenjamin Franzke1-0/+6
2013-11-21ping: Use new cmumble message abstractionBenjamin Franzke1-5/+5
2013-11-21message.h: Add wrapper around protobufs ugly func namesBenjamin Franzke1-8/+8
They are of cause autogenerated. Only the one wrapper for the reject enum is added as one makro by hand.
2013-11-21cmumble.c: Inline a makroBenjamin Franzke1-2/+1
Does not take 80 columns at all, no linebreak needed.
2013-11-21Add missing headersBenjamin Franzke1-0/+1
There were not warnings yet, since gstreamer 0.10 includes them implicitly. This will change with gstreamer 1.0.
2013-11-18Revert "recv_user_state: Verify needed, but optional values"Benjamin Franzke1-9/+0
This reverts commit f3b388b80daebb13398f2b6b269eda0aa947e469.
2013-11-18recv_user_state: Verify needed, but optional valuesBenjamin Franzke1-0/+9
We need at least always the session id. Didn't looked through the mumble source code, when this event is useful without. Store a user only, if we've been given a name, id and channel.
2013-11-18Implement channel joinBenjamin Franzke1-0/+4
2013-11-18Add verbose optionBenjamin Franzke1-6/+17
Disable all debug output using that flag for now.
2013-11-18Implement reject messageBenjamin Franzke1-1/+21
2013-11-18Fix typo in cmumble struct nameBenjamin Franzke1-13/+13
2012-02-10s/ctx/cm/g; s/struct cmumble_context/struct cmumlbe/gBenjamin Franzke1-48/+48
2011-09-28Support receiving TextMessagesBenjamin Franzke1-1/+11
2011-09-28Store own user in cmumble_contextBenjamin Franzke1-0/+4
2011-09-28Store channel in cmumble_userBenjamin Franzke1-1/+1
2011-09-28Print welcome messageBenjamin Franzke1-1/+2
2011-09-28Fix lines with more than 80 characters.Jan Klemkow1-4/+8
2011-09-25Print errors using g_printerrBenjamin Franzke1-1/+1
2011-09-25Fix coding styleBenjamin Franzke1-3/+3
There should not be a ' ' between functions names and open brackets. Only after keywords (switch,if,for..)
2011-09-25Add gstreamer option group to cmdline optionsBenjamin Franzke1-0/+1
2011-09-25Do not assign and check in ifBenjamin Franzke1-3/+4
2011-09-25Add glib parsing function for argc and argv.Jan Klemkow1-7/+30
2011-09-24Add a general element finding routine to util.cBenjamin Franzke1-31/+2
And use this to implement find_user and find_channel as inline functions.
2011-09-24Add lc (list channels) commandBenjamin Franzke1-2/+41
2011-09-24Use an asynchronous connection initiationBenjamin Franzke1-19/+42
So we arent blocked, and unable to handle cmdline interaction while connecting.
2011-09-23Add prefix cmumble_ to struct context and struct userBenjamin Franzke1-19/+19
2011-09-23Add a command interfaceBenjamin Franzke1-0/+1
Also add two simple commands: help and ls
2011-09-23Fix indentsBenjamin Franzke1-1/+1
2011-09-23Move audio-related stuff into audio.cBenjamin Franzke1-188/+5
2011-09-23Add cmumble_ prefix to recv/send_msgBenjamin Franzke1-3/+3
2011-09-23Store callbacks in contextBenjamin Franzke1-2/+8
2011-09-23Move connection related stuff into connection.cBenjamin Franzke1-65/+4
2011-09-23Fix warningsBenjamin Franzke1-3/+4
2011-09-23Add input support using readlineBenjamin Franzke1-0/+4
2011-09-22Use g_print always, not printf directlyBenjamin Franzke1-16/+18
So we can use glibs print handler later.
2011-09-22Fixup async read by using GPollableInputStream instead of GSocketBenjamin Franzke1-15/+17
With the GSource created from GSocket hacks were needed to get all events. GPollableInputStream is the interface implemented directly by GTlsInputStream.
2011-09-16Typesafe callback initializationBenjamin Franzke1-29/+28
2011-09-13Replace g_new0(*,1) with g_slice_new0(*)Benjamin Franzke1-2/+2
2011-05-30Set "cmumble [%user%]" name for sinks if type is pulseBenjamin Franzke1-2/+41
2011-05-28cleanupBenjamin Franzke1-24/+10
2011-05-28Remove unnecessary callbacksBenjamin Franzke1-60/+0
2011-05-28Use gst_parse_launch for recording pipelineBenjamin Franzke1-36/+11
2011-05-28Make use of gst_parse_launch for playback pipelineBenjamin Franzke1-22/+7