mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Revert "jack: improve short name"
This reverts commit 8101334b1e.
We should use the same logic as jack1 and jack2 to improve
compatibility.
This commit is contained in:
parent
1e89b7cdc4
commit
ac910c7c1c
1 changed files with 1 additions and 1 deletions
|
|
@ -3495,7 +3495,7 @@ const char * jack_port_short_name (const jack_port_t *port)
|
||||||
{
|
{
|
||||||
struct object *o = (struct object *) port;
|
struct object *o = (struct object *) port;
|
||||||
spa_return_val_if_fail(o != NULL, NULL);
|
spa_return_val_if_fail(o != NULL, NULL);
|
||||||
return rindex(o->port.name, ':') + 1;
|
return strchr(o->port.name, ':') + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
SPA_EXPORT
|
SPA_EXPORT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue