mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
tabs are evil
This commit is contained in:
parent
a7b992face
commit
a371306710
2 changed files with 7 additions and 7 deletions
|
|
@ -73,8 +73,8 @@ PA_MODULE_USAGE(
|
||||||
"rate=<sample rate> "
|
"rate=<sample rate> "
|
||||||
"channels=<number of channels> "
|
"channels=<number of channels> "
|
||||||
"path=<device object path> "
|
"path=<device object path> "
|
||||||
"sco_sink=<SCO over PCM sink name> "
|
"sco_sink=<SCO over PCM sink name> "
|
||||||
"sco_source=<SCO over PCM source name>");
|
"sco_source=<SCO over PCM source name>");
|
||||||
|
|
||||||
static const char* const valid_modargs[] = {
|
static const char* const valid_modargs[] = {
|
||||||
"name",
|
"name",
|
||||||
|
|
@ -1309,7 +1309,7 @@ static int add_sink(struct userdata *u) {
|
||||||
pa_proplist_update(u->sink->proplist, PA_UPDATE_MERGE, p);
|
pa_proplist_update(u->sink->proplist, PA_UPDATE_MERGE, p);
|
||||||
pa_proplist_free(p);
|
pa_proplist_free(p);
|
||||||
|
|
||||||
if (!u->hsp.sink_state_changed_slot)
|
if (!u->hsp.sink_state_changed_slot)
|
||||||
u->hsp.sink_state_changed_slot = pa_hook_connect(&u->core->hooks[PA_CORE_HOOK_SINK_STATE_CHANGED], PA_HOOK_NORMAL, (pa_hook_cb_t) sink_state_changed_cb, u);
|
u->hsp.sink_state_changed_slot = pa_hook_connect(&u->core->hooks[PA_CORE_HOOK_SINK_STATE_CHANGED], PA_HOOK_NORMAL, (pa_hook_cb_t) sink_state_changed_cb, u);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -1550,13 +1550,13 @@ static int card_set_profile(pa_card *c, pa_card_profile *new_profile) {
|
||||||
|
|
||||||
if (u->sink) {
|
if (u->sink) {
|
||||||
inputs = pa_sink_move_all_start(u->sink);
|
inputs = pa_sink_move_all_start(u->sink);
|
||||||
if (!USE_SCO_OVER_PCM(u))
|
if (!USE_SCO_OVER_PCM(u))
|
||||||
pa_sink_unlink(u->sink);
|
pa_sink_unlink(u->sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (u->source) {
|
if (u->source) {
|
||||||
outputs = pa_source_move_all_start(u->source);
|
outputs = pa_source_move_all_start(u->source);
|
||||||
if (!USE_SCO_OVER_PCM(u))
|
if (!USE_SCO_OVER_PCM(u))
|
||||||
pa_source_unlink(u->source);
|
pa_source_unlink(u->source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,8 @@ PA_MODULE_AUTHOR("Joao Paulo Rechi Vita");
|
||||||
PA_MODULE_DESCRIPTION("Detect available bluetooth audio devices and load bluetooth audio drivers");
|
PA_MODULE_DESCRIPTION("Detect available bluetooth audio devices and load bluetooth audio drivers");
|
||||||
PA_MODULE_VERSION(PACKAGE_VERSION);
|
PA_MODULE_VERSION(PACKAGE_VERSION);
|
||||||
PA_MODULE_USAGE("sco_sink=<name of sink> "
|
PA_MODULE_USAGE("sco_sink=<name of sink> "
|
||||||
"sco_source=<name of source>"
|
"sco_source=<name of source>"
|
||||||
"async=<Asynchronous initialization?>");
|
"async=<Asynchronous initialization?>");
|
||||||
|
|
||||||
static const char* const valid_modargs[] = {
|
static const char* const valid_modargs[] = {
|
||||||
"sco_sink",
|
"sco_sink",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue