Comments (4)
There is no any problem with this function LIBUSB_ENDPOINT_IN is ok and the parameters are ok and all work like expected (tested with Windows XP, Seven, Win10 ..., Linux, MacOS).
from airspyone_host.
If I understand correctly, airspy_set_samplerate() tell the USB device to set its sample rate to a defined state, so this is a host-to-device transaction. Host-to-device must use LIBUSB_ENDPOINT_OUT, not LIBUSB_ENDPOINT_IN.
from airspyone_host.
It is not used like that to avoid doing a DATA stage for nothing (and all is passed during SETUP stage instead of having an other stage with DATA)
You can check other function like airspy_set_packing(), airspy_set_mixer_agc() ... they are working in same way.
from airspyone_host.
Ok. Thanks for the explanation.
from airspyone_host.
Related Issues (20)
- clang warnings HOT 1
- Build fails: because always_inline function '_mm_movehl_ps' requires target feature 'mmx', but would be inlined into function 'process_fir_taps' that is compiled without support for 'mmx' HOT 2
- Can't find airspy HOT 3
- compilation HOT 1
- 10MHz Bandwidth AirSpy Mini HOT 1
- airspy_close() blocks for ever if disconnect from USB unconditionally HOT 1
- Is this program support Airspy HF+?
- Compilation issue in Windows 10 with MSVC/CMake HOT 2
- missing license for the repo HOT 1
- Airspy GR-Windows support HOT 1
- Inconsistent line endings in airspy.c HOT 1
- Deadlock in airspy_close if device is unplugged while streaming HOT 11
- libusb transfers not properly cleaned up if device is unplugged while streaming HOT 1
- Ship the udev rules upstream HOT 5
- position of dropped_samples in stream HOT 12
- use clang14.0.5 build opencv,but “always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'ExtractAlpha_SSE41' that is compiled without support for 'ssse3'” HOT 1
- BUG: Adding users to group `plugdev` HOT 1
- build fails on Raspberry Pi (debian buster) because of libusb_wrap_sys_device() API not supported HOT 5
- libairspy is slow when receiving float32 iq on Apple M1 HOT 6
- TR setup on Raspberry Pi not creating or saving audio files to shortName Dir HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airspyone_host.