diff options
author | Max Kellermann <max@duempel.org> | 2013-08-03 21:00:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-03 21:37:56 +0200 |
commit | d1e7b4e38136f9342aad76c685a13adf0e69f869 (patch) | |
tree | 49643b937ddfe735511b566a71398da5a945d7aa /src/pcm/PcmVolume.hxx | |
parent | 67f591a9ce60651da41afc499bd9a22e25314e35 (diff) | |
download | mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.gz mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.xz mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.zip |
audio_format: convert to C++
Diffstat (limited to 'src/pcm/PcmVolume.hxx')
-rw-r--r-- | src/pcm/PcmVolume.hxx | 6 |
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 |