summaryrefslogtreecommitdiff
path: root/usb-fast-audio-source/fast_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'usb-fast-audio-source/fast_source.h')
-rw-r--r--usb-fast-audio-source/fast_source.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usb-fast-audio-source/fast_source.h b/usb-fast-audio-source/fast_source.h
index 1fc0b2b..d448b15 100644
--- a/usb-fast-audio-source/fast_source.h
+++ b/usb-fast-audio-source/fast_source.h
@@ -1,11 +1,11 @@
#include <stdint.h>
-#define AUDDLoopRecDriver_SAMPLERATE 512000
+#define AUDDLoopRecDriver_SAMPLERATE 640000
#define AUDDLoopRecDriver_NUMCHANNELS 2
#define AUDDLoopRecDriver_BYTESPERSAMPLE 2
-#define AUDDLoopRecDriver_SAMPLESPERFRAME (AUDDLoopRecDriver_SAMPLERATE / 16384 \
+#define AUDDLoopRecDriver_SAMPLESPERFRAME (AUDDLoopRecDriver_SAMPLERATE / 5000 \
* AUDDLoopRecDriver_NUMCHANNELS)
#define AUDDLoopRecDriver_BYTESPERFRAME (AUDDLoopRecDriver_SAMPLESPERFRAME * \
@@ -14,5 +14,5 @@
#include <usb/common/core/USBGenericRequest.h>
void fastsource_init(void);
-void fastsource_start(uint8_t epnr);
+void fastsource_start(void);
void fastsource_req_hdlr(const USBGenericRequest *request);
personal git repositories of Harald Welte. Your mileage may vary