aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_export.h')
-rw-r--r--src/pcm_export.h24
1 files changed, 3 insertions, 21 deletions
diff --git a/src/pcm_export.h b/src/pcm_export.h
index a7e7c3f6..096ae8a6 100644
--- a/src/pcm_export.h
+++ b/src/pcm_export.h
@@ -35,14 +35,6 @@ struct audio_format;
*/
struct pcm_export_state {
/**
- * The buffer is used to convert DSD samples to the
- * DSD-over-USB format.
- *
- * @see #dsd_usb
- */
- struct pcm_buffer dsd_buffer;
-
- /**
* The buffer is used to pack samples, removing padding.
*
* @see #pack24
@@ -62,13 +54,6 @@ struct pcm_export_state {
uint8_t channels;
/**
- * Convert DSD to DSD-over-USB? Input format must be
- * SAMPLE_FORMAT_DSD and output format must be
- * SAMPLE_FORMAT_S24_P32.
- */
- bool dsd_usb;
-
- /**
* Convert (padded) 24 bit samples to 32 bit by shifting 8
* bits to the left?
*/
@@ -106,13 +91,10 @@ pcm_export_deinit(struct pcm_export_state *state);
* times to reuse the object, until pcm_export_deinit() is called.
*
* This function cannot fail.
- *
- * @param channels the number of channels; ignored unless dsd_usb is set
*/
-void
-pcm_export_open(struct pcm_export_state *state,
- enum sample_format sample_format, unsigned channels,
- bool dsd_usb, bool shift8, bool pack, bool reverse_endian);
+void pcm_export_open(struct pcm_export_state *state,
+ enum sample_format sample_format,
+ bool shift8, bool pack, bool reverse_endian);
/**
* Calculate the size of one output frame.