Skip to content

Commit

Permalink
Update airspy.h (#70)
Browse files Browse the repository at this point in the history
Added description for the airspy_get_samplerates function
  • Loading branch information
AlexandreRouma authored Jan 29, 2021
1 parent 0f9249c commit 70520c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libairspy/src/airspy.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ extern ADDAPI int ADDCALL airspy_open_sn(struct airspy_device** device, uint64_t
extern ADDAPI int ADDCALL airspy_open(struct airspy_device** device);
extern ADDAPI int ADDCALL airspy_close(struct airspy_device* device);

/* Use airspy_get_samplerates(device, buffer, 0) to get the number of available sample rates. It will be returned in the first element of buffer */
extern ADDAPI int ADDCALL airspy_get_samplerates(struct airspy_device* device, uint32_t* buffer, const uint32_t len);

/* Parameter samplerate can be either the index of a samplerate or directly its value in Hz within the list returned by airspy_get_samplerates() */
Expand Down

0 comments on commit 70520c9

Please sign in to comment.