diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-23 15:30:50 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-20 09:18:29 +0100 |
commit | 0bbe5ac82ef2845efafbf190044f16712db113b2 (patch) | |
tree | ac8745fba01c8a3e902e886f46f90ad56576559f /src/pcm_export.h | |
parent | c69c8ffa9ec55c94dee7ce69af26b4edbd61647e (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_export.h')
-rw-r--r-- | src/pcm_export.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/pcm_export.h b/src/pcm_export.h index 096ae8a6..941036c9 100644 --- a/src/pcm_export.h +++ b/src/pcm_export.h @@ -54,17 +54,6 @@ struct pcm_export_state { uint8_t channels; /** - * Convert (padded) 24 bit samples to 32 bit by shifting 8 - * bits to the left? - */ - bool shift8; - - /** - * Pack 24 bit samples? - */ - bool pack24; - - /** * Export the samples in reverse byte order? A non-zero value * means the option is enabled and represents the size of each * sample (2 or bigger). @@ -93,8 +82,8 @@ pcm_export_deinit(struct pcm_export_state *state); * This function cannot fail. */ void pcm_export_open(struct pcm_export_state *state, - enum sample_format sample_format, - bool shift8, bool pack, bool reverse_endian); + enum AVSampleFormat sample_format, + bool pack, bool reverse_endian); /** * Calculate the size of one output frame. |