mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
don't include full path in driver name.
This commit is contained in:
parent
bf7217b6a5
commit
0f7954a9f5
6 changed files with 12 additions and 6 deletions
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include <pulse/utf8.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/util.h>
|
||||
|
||||
#include <pulsecore/sample-util.h>
|
||||
#include <pulsecore/core-subscribe.h>
|
||||
|
|
@ -229,7 +230,7 @@ pa_sink_input* pa_sink_input_new(
|
|||
i->state = PA_SINK_INPUT_INIT;
|
||||
i->flags = flags;
|
||||
i->proplist = pa_proplist_copy(data->proplist);
|
||||
i->driver = pa_xstrdup(data->driver);
|
||||
i->driver = pa_xstrdup(pa_path_get_filename(data->driver));
|
||||
i->module = data->module;
|
||||
i->sink = data->sink;
|
||||
i->client = data->client;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue