diff options
author | Max Kellermann <max@duempel.org> | 2014-01-28 11:34:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-28 11:34:09 +0100 |
commit | 815d72065c1f2c690228e66b74b8a303cfe33fca (patch) | |
tree | 0c6698d1c3d3066036020a367531116cc8c334ce /test | |
parent | e0dc721324f34d8b3803dce64545871aec42e537 (diff) |
output: rename struct audio_output to AudioOutput
Diffstat (limited to 'test')
-rw-r--r-- | test/run_output.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/run_output.cxx b/test/run_output.cxx index fe377158d..04f9b9d63 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -80,7 +80,7 @@ PlayerControl::PlayerControl(gcc_unused MultipleOutputs &_outputs, :outputs(_outputs) {} PlayerControl::~PlayerControl() {} -static struct audio_output * +static AudioOutput * load_audio_output(const char *name) { const struct config_param *param; @@ -95,7 +95,7 @@ load_audio_output(const char *name) 32, 4); Error error; - struct audio_output *ao = + AudioOutput *ao = audio_output_new(*param, dummy_player_control, error); if (ao == nullptr) LogError(error); @@ -104,7 +104,7 @@ load_audio_output(const char *name) } static bool -run_output(struct audio_output *ao, AudioFormat audio_format) +run_output(AudioOutput *ao, AudioFormat audio_format) { /* open the audio output */ @@ -197,7 +197,7 @@ int main(int argc, char **argv) /* initialize the audio output */ - struct audio_output *ao = load_audio_output(argv[2]); + AudioOutput *ao = load_audio_output(argv[2]); if (ao == NULL) return 1; |