aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmVolume.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm/PcmVolume.hxx')
-rw-r--r--src/pcm/PcmVolume.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pcm/PcmVolume.hxx b/src/pcm/PcmVolume.hxx
index ed660b22a..8cd82acf7 100644
--- a/src/pcm/PcmVolume.hxx
+++ b/src/pcm/PcmVolume.hxx
@@ -21,7 +21,7 @@
#define MPD_PCM_VOLUME_HXX
#include "PcmPrng.hxx"
-#include "audio_format.h"
+#include "AudioFormat.hxx"
#include <stdint.h>
#include <stddef.h>
@@ -31,7 +31,7 @@ enum {
PCM_VOLUME_1 = 1024,
};
-struct audio_format;
+struct AudioFormat;
/**
* Converts a float value (0.0 = silence, 1.0 = 100% volume) to an
@@ -75,7 +75,7 @@ pcm_volume_dither(void)
*/
bool
pcm_volume(void *buffer, size_t length,
- enum sample_format format,
+ SampleFormat format,
int volume);
#endif