summaryrefslogtreecommitdiff
path: root/src/audio.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-06audio: Try to create playback pipelines ondemandBenjamin Franzke1-112/+153
2013-12-05wipBenjamin Franzke1-5/+16
2013-12-04record: Queue buffers and send out multiple frames at onceBenjamin Franzke1-27/+141
Also restart sequence on discontiuity. FIXME: Research whether we can always just ask for the GST_BUFFER_DISCONT flag. Sending audio works quite reasonable with a server that has 72kbit/s now. :)
2013-12-04Timestamp playback buffers with appropriate flagsBenjamin Franzke1-8/+64
* GST_BUFFER_FLAG_DISCONT helps to play immediately after a pause (i.e. no talking) TODO: Not sure GST_BUFFER_FLAG_RESYNC does really help, but from the decoumentation it does what we want.
2013-12-04Port to gstreamer 1.0 APIBenjamin Franzke1-36/+80
Includes fixes: - use a callback, not a signal for appsink's new_buffer
2013-12-04audio: Improve pulseaudio config message a bitBenjamin Franzke1-3/+4
2013-12-04Add a FIXMEBenjamin Franzke1-0/+2
2013-12-04Make use of CELT_GET_BITSTREAM_VERSIONBenjamin Franzke1-1/+4
Instead of hardcoding this.
2013-11-22audio: Pull and send the recorded buffer from the main threadBenjamin Franzke1-1/+24
Tests showed this lets the appsink pull more buffers, since the streaming thread is not blocked due to network write.
2013-11-22audio.c: Move variable declaration before codeBenjamin Franzke1-3/+4
2013-11-22Pass message type implicity in cmumble_send_*Benjamin Franzke1-3/+3
This also removes the unneeded "struct mumble_*" which is ugly in use.
2013-11-18Fix typo in cmumble struct nameBenjamin Franzke1-7/+7
2012-02-10Use sizeof in encode_varint call for buffer sizeBenjamin Franzke1-1/+1
2012-02-10s/ctx/cm/g; s/struct cmumble_context/struct cmumlbe/gBenjamin Franzke1-27/+27
2011-10-08audio: Another type fixBenjamin Franzke1-1/+1
2011-09-25Add udp message targetsBenjamin Franzke1-1/+1
2011-09-25Fix bitshift for udp typeBenjamin Franzke1-1/+1
Its abit unclear in the documentation, whether the first bits refer to lsb or msb.
2011-09-24Use an asynchronous connection initiationBenjamin Franzke1-0/+6
So we arent blocked, and unable to handle cmdline interaction while connecting.
2011-09-23Add prefix cmumble_ to struct context and struct userBenjamin Franzke1-8/+9
2011-09-23Fix indentsBenjamin Franzke1-7/+7
2011-09-23Move audio-related stuff into audio.cBenjamin Franzke1-0/+205