From 84763f9c33b54ecd74565fce8ea633f83a7aaa45 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 2 Dec 2011 22:51:44 +0100 Subject: fix fast audio source test, generates 640 kS/s to 1 Ms/s now --- usb-fast-audio-source/fast_source.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usb-fast-audio-source/fast_source.h') 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 -#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 void fastsource_init(void); -void fastsource_start(uint8_t epnr); +void fastsource_start(void); void fastsource_req_hdlr(const USBGenericRequest *request); -- cgit v1.2.3