mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-24 01:40:18 -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
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include <pulse/utf8.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/util.h>
|
||||
|
||||
#include <pulsecore/sample-util.h>
|
||||
#include <pulsecore/core-subscribe.h>
|
||||
|
|
@ -192,7 +193,7 @@ pa_source_output* pa_source_output_new(
|
|||
o->state = PA_SOURCE_OUTPUT_INIT;
|
||||
o->flags = flags;
|
||||
o->proplist = pa_proplist_copy(data->proplist);
|
||||
o->driver = pa_xstrdup(data->driver);
|
||||
o->driver = pa_xstrdup(pa_path_get_filename(data->driver));
|
||||
o->module = data->module;
|
||||
o->source = data->source;
|
||||
o->client = data->client;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue