aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_export.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-03-21 20:55:18 +0100
committerMax Kellermann <max@duempel.org>2012-03-21 21:18:11 +0100
commit9ec9a8705e667280a69abf8f963db8e4ec8f4cd2 (patch)
tree166fdff7360a8e72c43a160522959c34df147fc5 /src/pcm_export.h
parent170635e3a6fbbdb2274f6ecd164c2c363d4e80b4 (diff)
downloadmpd-9ec9a8705e667280a69abf8f963db8e4ec8f4cd2.tar.gz
mpd-9ec9a8705e667280a69abf8f963db8e4ec8f4cd2.tar.xz
mpd-9ec9a8705e667280a69abf8f963db8e4ec8f4cd2.zip
pcm_export: use the byte_reverse library directly
Delete the now-unused pcm_byteswap library, and optimize the pcm_export_state object.
Diffstat (limited to '')
-rw-r--r--src/pcm_export.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pcm_export.h b/src/pcm_export.h
index 198b1d6a8..570092eb9 100644
--- a/src/pcm_export.h
+++ b/src/pcm_export.h
@@ -41,12 +41,12 @@ struct pcm_export_state {
*/
struct pcm_buffer reverse_buffer;
- enum sample_format sample_format;
-
/**
- * Export the samples in reverse byte order?
+ * 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).
*/
- bool reverse_endian;
+ uint8_t reverse_endian;
};
/**