From 9fb351a139a56fc7b1ece549894f8fc31fa887cd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jul 2014 20:58:14 +0200 Subject: *Save, *State: use the OutputStream API instead of FILE* --- src/mixer/Volume.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mixer/Volume.hxx') diff --git a/src/mixer/Volume.hxx b/src/mixer/Volume.hxx index a02c21a21..d787a6415 100644 --- a/src/mixer/Volume.hxx +++ b/src/mixer/Volume.hxx @@ -22,9 +22,8 @@ #include "Compiler.h" -#include - class MultipleOutputs; +class BufferedOutputStream; void InvalidateHardwareVolume(); @@ -39,7 +38,8 @@ volume_level_change(MultipleOutputs &outputs, unsigned volume); bool read_sw_volume_state(const char *line, MultipleOutputs &outputs); -void save_sw_volume_state(FILE *fp); +void +save_sw_volume_state(BufferedOutputStream &os); /** * Generates a hash number for the current state of the software -- cgit v1.2.3