mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
card: remove pa_card_new_data.active_profile
It's not being used any more.
This commit is contained in:
parent
7b62601401
commit
0045f552aa
2 changed files with 0 additions and 13 deletions
|
|
@ -96,13 +96,6 @@ void pa_card_new_data_set_name(pa_card_new_data *data, const char *name) {
|
||||||
data->name = pa_xstrdup(name);
|
data->name = pa_xstrdup(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
void pa_card_new_data_set_profile(pa_card_new_data *data, const char *profile) {
|
|
||||||
pa_assert(data);
|
|
||||||
|
|
||||||
pa_xfree(data->active_profile);
|
|
||||||
data->active_profile = pa_xstrdup(profile);
|
|
||||||
}
|
|
||||||
|
|
||||||
void pa_card_new_data_set_preferred_port(pa_card_new_data *data, pa_direction_t direction, pa_device_port *port) {
|
void pa_card_new_data_set_preferred_port(pa_card_new_data *data, pa_direction_t direction, pa_device_port *port) {
|
||||||
pa_assert(data);
|
pa_assert(data);
|
||||||
|
|
||||||
|
|
@ -125,7 +118,6 @@ void pa_card_new_data_done(pa_card_new_data *data) {
|
||||||
pa_hashmap_free(data->ports);
|
pa_hashmap_free(data->ports);
|
||||||
|
|
||||||
pa_xfree(data->name);
|
pa_xfree(data->name);
|
||||||
pa_xfree(data->active_profile);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pa_card *pa_card_new(pa_core *core, pa_card_new_data *data) {
|
pa_card *pa_card_new(pa_core *core, pa_card_new_data *data) {
|
||||||
|
|
|
||||||
|
|
@ -101,15 +101,11 @@ typedef struct pa_card_new_data {
|
||||||
pa_module *module;
|
pa_module *module;
|
||||||
|
|
||||||
pa_hashmap *profiles;
|
pa_hashmap *profiles;
|
||||||
char *active_profile;
|
|
||||||
|
|
||||||
pa_hashmap *ports;
|
pa_hashmap *ports;
|
||||||
pa_device_port *preferred_input_port;
|
pa_device_port *preferred_input_port;
|
||||||
pa_device_port *preferred_output_port;
|
pa_device_port *preferred_output_port;
|
||||||
|
|
||||||
bool namereg_fail:1;
|
bool namereg_fail:1;
|
||||||
|
|
||||||
bool save_profile:1;
|
|
||||||
} pa_card_new_data;
|
} pa_card_new_data;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
@ -125,7 +121,6 @@ void pa_card_profile_set_available(pa_card_profile *c, pa_available_t available)
|
||||||
|
|
||||||
pa_card_new_data *pa_card_new_data_init(pa_card_new_data *data);
|
pa_card_new_data *pa_card_new_data_init(pa_card_new_data *data);
|
||||||
void pa_card_new_data_set_name(pa_card_new_data *data, const char *name);
|
void pa_card_new_data_set_name(pa_card_new_data *data, const char *name);
|
||||||
void pa_card_new_data_set_profile(pa_card_new_data *data, const char *profile);
|
|
||||||
void pa_card_new_data_set_preferred_port(pa_card_new_data *data, pa_direction_t direction, pa_device_port *port);
|
void pa_card_new_data_set_preferred_port(pa_card_new_data *data, pa_direction_t direction, pa_device_port *port);
|
||||||
void pa_card_new_data_done(pa_card_new_data *data);
|
void pa_card_new_data_done(pa_card_new_data *data);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue