aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_volume.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-04-23 15:30:50 +0200
committerAnton Khirnov <anton@khirnov.net>2015-02-20 09:18:29 +0100
commit0bbe5ac82ef2845efafbf190044f16712db113b2 (patch)
treeac8745fba01c8a3e902e886f46f90ad56576559f /src/pcm_volume.h
parentc69c8ffa9ec55c94dee7ce69af26b4edbd61647e (diff)
Switch to Libav sample formats everywhere.
Drop 24bit format for now. It should be restored later by properly distinguishing between internal and packed formats.
Diffstat (limited to 'src/pcm_volume.h')
-rw-r--r--src/pcm_volume.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pcm_volume.h b/src/pcm_volume.h
index 64e3c764..58ff2fd3 100644
--- a/src/pcm_volume.h
+++ b/src/pcm_volume.h
@@ -73,9 +73,8 @@ pcm_volume_dither(void)
* @param volume the volume between 0 and #PCM_VOLUME_1
* @return true on success, false if the audio format is not supported
*/
-bool
-pcm_volume(void *buffer, size_t length,
- enum sample_format format,
- int volume);
+bool pcm_volume(void *buffer, size_t length,
+ enum AVSampleFormat format,
+ int volume);
#endif