Skip to content

Commit

Permalink
* NEWS:
Browse files Browse the repository at this point in the history
	  Updating NEWS.
	* docs/help/bt-edit/C/figures/page-info-view.png:
	  New screenshot.
	* src/lib/core/wire.c:
	  Better logging.
  • Loading branch information
ensonic committed Jan 4, 2012
1 parent e7101a0 commit 079e339
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
11 changes: 11 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2008-03-26 Stefan Kost <[email protected]>

* NEWS:
Updating NEWS.

* docs/help/bt-edit/C/figures/page-info-view.png:
New screenshot.

* src/lib/core/wire.c:
Better logging.

2008-03-22 Stefan Kost <[email protected]>

* docs/help/bt-edit/C/figures/settings-shortcuts.png:
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0.3.0 a tale of ice and darkness (09.Mar.2008)
0.3.0 a tale of ice and darkness (26.Mar.2008)
================================================================================
Improvements in all areas. We now have native buzzmachine support and better
compatibility. The buzztard editor got an own pattern editor widget. The ui got
Expand Down
Binary file modified docs/help/bt-edit/C/figures/page-info-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions src/lib/core/wire.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,6 @@ static gboolean bt_wire_link_machines(const BtWire * const self) {
GST_DEBUG("created panorama/balance element for wire : %p '%s' -> %p '%s'",
self->priv->src->src_elem,GST_OBJECT_NAME(self->priv->src->src_elem),
self->priv->dst->dst_elem,GST_OBJECT_NAME(self->priv->dst->dst_elem));
// @todo: the panorama of my laptop is quirky :/
g_object_set(G_OBJECT (machines[PART_PAN]),"method",1,NULL);
}
}
Expand All @@ -511,7 +510,7 @@ static gboolean bt_wire_link_machines(const BtWire * const self) {
}
gst_object_unref(dst_machine);

GST_DEBUG("trying to link machines directly : %p '%s' -> %p '%s'",src->src_elem,GST_OBJECT_NAME(src->src_elem),dst->dst_elem,GST_OBJECT_NAME(dst->dst_elem));
GST_DEBUG("trying to link machines : %p '%s' -> %p '%s'",src->src_elem,GST_OBJECT_NAME(src->src_elem),dst->dst_elem,GST_OBJECT_NAME(dst->dst_elem));
/* if we try linking without audioconvert and this links to an adder,
* then the first link enforces the format (if first is mono and later stereo
* signal is linked, this is downgraded).
Expand All @@ -526,6 +525,7 @@ static gboolean bt_wire_link_machines(const BtWire * const self) {
GST_DEBUG("trying to link machines with pan");
if(!(res=gst_element_link_many(src->src_elem, machines[PART_QUEUE], machines[PART_TEE], machines[PART_GAIN], machines[PART_CONVERT], machines[PART_PAN], dst->dst_elem, NULL))) {
gst_element_unlink_many(src->src_elem, machines[PART_QUEUE], machines[PART_TEE], machines[PART_GAIN], machines[PART_CONVERT], machines[PART_PAN], dst->dst_elem, NULL);
GST_WARNING("failed to link machines with pan");
}
else {
machines[PART_SRC]=machines[PART_QUEUE];
Expand All @@ -537,6 +537,7 @@ static gboolean bt_wire_link_machines(const BtWire * const self) {
GST_DEBUG("trying to link machines without pan");
if(!(res=gst_element_link_many(src->src_elem, machines[PART_QUEUE], machines[PART_TEE], machines[PART_GAIN], machines[PART_CONVERT], dst->dst_elem, NULL))) {
gst_element_unlink_many(src->src_elem, machines[PART_QUEUE], machines[PART_TEE], machines[PART_GAIN], machines[PART_CONVERT], dst->dst_elem, NULL);
GST_WARNING("failed to link machines without pan");
}
else {
machines[PART_SRC]=machines[PART_QUEUE];
Expand All @@ -545,7 +546,7 @@ static gboolean bt_wire_link_machines(const BtWire * const self) {
}
}
if(!res) {
GST_DEBUG("failed to link the machines");
GST_INFO("failed to link the machines");
// print out the content of both machines (using GST_DEBUG)
bt_machine_dbg_print_parts(src);bt_machine_dbg_print_parts(dst);
}
Expand Down Expand Up @@ -716,7 +717,8 @@ static gboolean bt_wire_connect(const BtWire * const self) {
GST_DEBUG("link prepared, bin->refs=%d, src->refs=%d, dst->refs=%d",G_OBJECT(self->priv->bin)->ref_count,G_OBJECT(src)->ref_count,G_OBJECT(dst)->ref_count);

if(!bt_wire_link_machines(self)) {
GST_ERROR("linking machines failed");goto Error;
GST_ERROR("linking machines failed : %p '%s' -> %p '%s'",src->src_elem,GST_OBJECT_NAME(src->src_elem),dst->dst_elem,GST_OBJECT_NAME(dst->dst_elem));
goto Error;
}
else {
// register params
Expand Down

0 comments on commit 079e339

Please sign in to comment.