Skip to content

Commit

Permalink
Minor fix to the doxygen text for setupStream
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckschwerdt committed Feb 23, 2025
1 parent d8cdc10 commit efa57bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
22 changes: 10 additions & 12 deletions include/SoapySDR/Device.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,15 +265,8 @@ SOAPY_SDR_API SoapySDRArgInfo *SoapySDRDevice_getStreamArgsInfo(const SoapySDRDe
* the same sample rate. See SoapySDRDevice_setSampleRate().
*
* \param device a pointer to a device instance
* \return the opaque pointer to a stream handle.
* \parblock
*
* The returned stream is not required to have internal locking, and may not be used
* concurrently from multiple threads.
* \endparblock
*
* \param direction the channel direction (`SOAPY_SDR_RX` or `SOAPY_SDR_TX`)
* \param format A string representing the desired buffer format in read/writeStream()
* \param format A string representing the desired buffer format in `readStream()` / `writeStream()`.
* \parblock
*
* The first character selects the number type:
Expand All @@ -295,13 +288,18 @@ SOAPY_SDR_API SoapySDRArgInfo *SoapySDRDevice_getStreamArgsInfo(const SoapySDRDe
* \endparblock
* \param channels a list of channels or empty for automatic
* \param numChans the number of elements in the channels array
* \param args stream args or empty for defaults
* \param args stream args or empty for defaults.
* \parblock
*
* Recommended keys to use in the args dictionary:
* - "WIRE" - format of the samples between device and host
* Recommended keys to use in the args dictionary:
* - "WIRE" - format of the samples between device and host
* \endparblock
* \return the stream pointer or nullptr for failure.
* \parblock
*
* The returned stream is not required to have internal locking, and may not be used
* concurrently from multiple threads.
* \endparblock
* \return the stream pointer or nullptr for failure
*/
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
const int direction,
Expand Down
6 changes: 3 additions & 3 deletions include/SoapySDR/Device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class SOAPY_SDR_API Device
* the same sample rate. See setSampleRate().
*
* \param direction the channel direction (`SOAPY_SDR_RX` or `SOAPY_SDR_TX`)
* \param format A string representing the desired buffer format in read/writeStream()
* \param format A string representing the desired buffer format in `readStream()` / `writeStream()`.
* \parblock
*
* The first character selects the number type:
Expand All @@ -254,8 +254,8 @@ class SOAPY_SDR_API Device
* \param args stream args or empty for defaults.
* \parblock
*
* Recommended keys to use in the args dictionary:
* - "WIRE" - format of the samples between device and host
* Recommended keys to use in the args dictionary:
* - "WIRE" - format of the samples between device and host
* \endparblock
* \return an opaque pointer to a stream handle.
* \parblock
Expand Down

0 comments on commit efa57bf

Please sign in to comment.