osmo-sdr/firmware/usb-fast-audio-source/fast_source.h @ master
1 |
|
---|---|
2 |
#include <stdint.h>
|
3 |
|
4 |
#define AUDDLoopRecDriver_SAMPLERATE 64000
|
5 |
#define AUDDLoopRecDriver_NUMCHANNELS 2
|
6 |
#define AUDDLoopRecDriver_BYTESPERSAMPLE 2
|
7 |
|
8 |
#define AUDDLoopRecDriver_SAMPLESPERFRAME (AUDDLoopRecDriver_SAMPLERATE / 500 \
|
9 |
* AUDDLoopRecDriver_NUMCHANNELS)
|
10 |
|
11 |
#define AUDDLoopRecDriver_BYTESPERFRAME (AUDDLoopRecDriver_SAMPLESPERFRAME * \
|
12 |
AUDDLoopRecDriver_BYTESPERSAMPLE)
|
13 |
|
14 |
#include <usb/common/core/USBGenericRequest.h>
|
15 |
|
16 |
void fastsource_init(void); |
17 |
void fastsource_start(void); |
18 |
void fastsource_req_hdlr(const USBGenericRequest *request); |
19 |
void fastsource_dump(void); |