output: rename struct audio_output to AudioOutput
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
static constexpr Domain mixer_domain("mixer");
|
||||
|
||||
static int
|
||||
output_mixer_get_volume(const audio_output &ao)
|
||||
output_mixer_get_volume(const AudioOutput &ao)
|
||||
{
|
||||
if (!ao.enabled)
|
||||
return -1;
|
||||
@@ -73,7 +73,7 @@ MultipleOutputs::GetVolume() const
|
||||
}
|
||||
|
||||
static bool
|
||||
output_mixer_set_volume(audio_output &ao, unsigned volume)
|
||||
output_mixer_set_volume(AudioOutput &ao, unsigned volume)
|
||||
{
|
||||
assert(volume <= 100);
|
||||
|
||||
@@ -108,7 +108,7 @@ MultipleOutputs::SetVolume(unsigned volume)
|
||||
}
|
||||
|
||||
static int
|
||||
output_mixer_get_software_volume(const audio_output &ao)
|
||||
output_mixer_get_software_volume(const AudioOutput &ao)
|
||||
{
|
||||
if (!ao.enabled)
|
||||
return -1;
|
||||
|
@@ -46,7 +46,7 @@ mixer_close(Mixer *mixer);
|
||||
|
||||
/**
|
||||
* Close the mixer unless the plugin's "global" flag is set. This is
|
||||
* called when the #audio_output is closed.
|
||||
* called when the #AudioOutput is closed.
|
||||
*/
|
||||
void
|
||||
mixer_auto_close(Mixer *mixer);
|
||||
|
Reference in New Issue
Block a user