output: rename struct audio_output to AudioOutput

This commit is contained in:
Max Kellermann
2014-01-28 11:34:09 +01:00
parent e0dc721324
commit 815d72065c
36 changed files with 278 additions and 277 deletions

View File

@@ -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;

View File

@@ -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);