diff options
author | Max Kellermann <max@duempel.org> | 2009-07-06 10:01:02 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-06 10:01:02 +0200 |
commit | 78fa3f06f9fadcc274c0a0042d28d59c88bff152 (patch) | |
tree | 75a02c2926fb72fff0b5832dbdfd4430d8a25e87 /src/output_internal.h | |
parent | 1350cd0e42d1860af1149db3e3b4eb3b944779fe (diff) | |
download | mpd-78fa3f06f9fadcc274c0a0042d28d59c88bff152.tar.gz mpd-78fa3f06f9fadcc274c0a0042d28d59c88bff152.tar.xz mpd-78fa3f06f9fadcc274c0a0042d28d59c88bff152.zip |
output: added command REOPEN
REOPEN is called when the input audio format changes. The output
thread may be reconfigure the PCM converter.
Diffstat (limited to '')
-rw-r--r-- | src/output_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/output_internal.h b/src/output_internal.h index 362d24947..5f7a24060 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -29,6 +29,13 @@ enum audio_output_command { AO_COMMAND_NONE = 0, AO_COMMAND_OPEN, + + /** + * This command is invoked when the input audio format + * changes. + */ + AO_COMMAND_REOPEN, + AO_COMMAND_CLOSE, AO_COMMAND_PAUSE, AO_COMMAND_CANCEL, |