diff options
| author | Harald Welte <laforge@gnumonks.org> | 2011-12-02 22:51:44 +0100 | 
|---|---|---|
| committer | Harald Welte <laforge@gnumonks.org> | 2011-12-02 22:51:44 +0100 | 
| commit | 84763f9c33b54ecd74565fce8ea633f83a7aaa45 (patch) | |
| tree | a7f2fc65de2ba795e3adb1150022a4ba47d0d693 /usb-fast-audio-source/fast_source.h | |
| parent | 8ed7d596716686883b5baaba60d7f764791c904e (diff) | |
fix fast audio source test, generates 640 kS/s to 1 Ms/s now
Diffstat (limited to 'usb-fast-audio-source/fast_source.h')
| -rw-r--r-- | usb-fast-audio-source/fast_source.h | 6 | 
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); | 
