Commit graph

15 commits

Author SHA1 Message Date
Wim Taymans
d4f6a94b93 jacksrc: make sure we always read nframes
Error out when we are asked to read a different size that what was configured as
the jack period size because that would mean something else is wrong.

Fixes #618409
2010-05-13 12:55:29 +02:00
Tristan Matthews
7f172b2b96 jack: improve process_cb 2010-05-13 12:42:39 +02:00
Tristan Matthews
01c5a78f0b jack: implement multichannel support correctly for jackaudiosrc
Fixes parts of bug #616541.
2010-04-30 10:05:08 +03:00
Stefan Kost
259841d71f jack: remove empty dispose and finalize methods 2010-04-27 11:21:16 +03:00
Stefan Kost
58eb164642 jack: don't leak caps
Add dispose methods to clear caps.
2010-04-27 10:59:00 +03:00
Stefan Kost
63a31d3a87 jack: don't use GST_DEBUG_FUNCPTR for gobject vmethods 2010-04-27 10:34:24 +03:00
Stefan Kost
36483adfba jack: fix element name in section doc blob 2010-03-24 16:25:43 +02:00
Benjamin Otte
240f494aa7 Add -Wold-style-definition
and fix the warnings
2010-03-22 16:56:03 +01:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Stefan Kost
a2be08d74c jack: ensure segtotal is at least 2
Not only adjust buffer-time and avoid segtotal=0, but instead ensure segtotal is
atleast 2. Do same change on jacksrc. We could also check the latency and buffer
time configured by the client and adjust buffer-time so that we get to the same
number of segments.
2009-10-12 09:06:37 +03:00
Wim Taymans
13bc8b8c03 jack: Add new connection mode
Add a new connection mode to jacksrc and jacksink. In this new auto-force
connection mode jack will create as many ports as requested/needed in the
pipeline and will then connect as many physical ports as possible, possibly
leaving some ports unconnected.

Also get rid of some leftover g_print.

Fixes #575284.
2009-03-23 17:07:16 +01:00
Stefan Kost
25d2d8f48a ext/jack/: Query port latencies for sink/src delays.
Original commit message from CVS:
* ext/jack/gstjackaudiosink.c:
* ext/jack/gstjackaudiosrc.c:
Query port latencies for sink/src delays.
* ext/jack/gstjackbin.c:
No printf please.
2008-11-23 17:50:08 +00:00
Stefan Kost
2e1e65e154 ext/jack/gstjackaudiosrc.c: Try committing this once again. Now properly renamed.
Original commit message from CVS:
* ext/jack/gstjackaudiosrc.c:
Try committing this once again. Now properly renamed.
2008-08-07 13:15:21 +00:00
Stefan Kost
f1d5e92f33 docs/plugins/: docs/plugins/inspect/plugin-jack.xml
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/inspect/plugin-jack.xml
Add new element to docs.
* ext/jack/gstjack.h
Add missing file.
* ext/jack/gstjackaudiosrc.c:
* ext/jack/gstjackaudiosrc.h:
Rename jackaudiosrc to jack_audio_src.
2008-08-07 09:09:44 +00:00
Tristan Matthews
3fcdc01db8 ext/jack/: Add a jackaudiosrc. Refactor sink slightly for better code reuse.
Original commit message from CVS:
patch by: Tristan Matthews <tristan@sat.qc.ca>
* ext/jack/Makefile.am:
* ext/jack/gstjack.c:
* ext/jack/gstjackaudioclient.c:
* ext/jack/gstjackaudiosink.c:
* ext/jack/gstjackaudiosink.h:
* ext/jack/gstjackaudiosrc.c:
* ext/jack/gstjackaudiosrc.h:
* ext/jack/gstjackringbuffer.h:
Add a jackaudiosrc. Refactor sink slightly for better code reuse.
Fixes #545197.
2008-08-07 08:47:40 +00:00