Mixer: rename struct mixer_plugin to MixerPlugin
This commit is contained in:
@@ -374,7 +374,7 @@ alsa_mixer_set_volume(Mixer *mixer, unsigned volume, Error &error)
|
||||
return am->SetVolume(volume, error);
|
||||
}
|
||||
|
||||
const struct mixer_plugin alsa_mixer_plugin = {
|
||||
const MixerPlugin alsa_mixer_plugin = {
|
||||
alsa_mixer_init,
|
||||
alsa_mixer_finish,
|
||||
alsa_mixer_open,
|
||||
|
||||
@@ -231,7 +231,7 @@ oss_mixer_set_volume(Mixer *mixer, unsigned volume, Error &error)
|
||||
return om->SetVolume(volume, error);
|
||||
}
|
||||
|
||||
const struct mixer_plugin oss_mixer_plugin = {
|
||||
const MixerPlugin oss_mixer_plugin = {
|
||||
oss_mixer_init,
|
||||
oss_mixer_finish,
|
||||
oss_mixer_open,
|
||||
|
||||
@@ -215,7 +215,7 @@ pulse_mixer_set_volume(Mixer *mixer, unsigned volume, Error &error)
|
||||
return success;
|
||||
}
|
||||
|
||||
const struct mixer_plugin pulse_mixer_plugin = {
|
||||
const MixerPlugin pulse_mixer_plugin = {
|
||||
pulse_mixer_init,
|
||||
pulse_mixer_finish,
|
||||
nullptr,
|
||||
|
||||
@@ -64,7 +64,7 @@ roar_mixer_set_volume(Mixer *mixer, unsigned volume,
|
||||
return roar_output_set_volume(self->self, volume);
|
||||
}
|
||||
|
||||
const struct mixer_plugin roar_mixer_plugin = {
|
||||
const MixerPlugin roar_mixer_plugin = {
|
||||
roar_mixer_init,
|
||||
roar_mixer_finish,
|
||||
nullptr,
|
||||
|
||||
@@ -110,7 +110,7 @@ software_mixer_set_volume(Mixer *mixer, unsigned volume,
|
||||
return true;
|
||||
}
|
||||
|
||||
const struct mixer_plugin software_mixer_plugin = {
|
||||
const MixerPlugin software_mixer_plugin = {
|
||||
software_mixer_init,
|
||||
software_mixer_finish,
|
||||
nullptr,
|
||||
|
||||
@@ -104,7 +104,7 @@ winmm_mixer_set_volume(Mixer *mixer, unsigned volume, Error &error)
|
||||
return true;
|
||||
}
|
||||
|
||||
const struct mixer_plugin winmm_mixer_plugin = {
|
||||
const MixerPlugin winmm_mixer_plugin = {
|
||||
winmm_mixer_init,
|
||||
winmm_mixer_finish,
|
||||
nullptr,
|
||||
|
||||
Reference in New Issue
Block a user