doc: fix some doxygen warnings

This commit is contained in:
Pauli Virtanen 2024-01-28 13:06:50 +02:00 committed by Wim Taymans
parent 8e3c0f02b2
commit 978dbff32f
23 changed files with 111 additions and 27 deletions

View file

@ -51,7 +51,7 @@ See \ref page_module_protocol_native for details.
The functionality of the server is implemented and extended with modules and The functionality of the server is implemented and extended with modules and
extensions. Modules are server side bits of logic that hook into various extensions. Modules are server side bits of logic that hook into various
places to provide extra features. This mostly means controlling the processing places to provide extra features. This mostly means controlling the processing
graph in some way. See \ref page_pipewire_modules for a list of current graph in some way. See \ref page_modules for a list of current
modules. modules.
Extensions are the client side version of the modules. Most extensions provide Extensions are the client side version of the modules. Most extensions provide

View file

@ -22,7 +22,7 @@ Show available commands
\par quit | q \par quit | q
Quit Quit
\par card <id> | c <id> \par card ID | c ID
Probe card Probe card
\par info | i \par info | i
@ -34,40 +34,40 @@ List all objects
\par list-verbose | lv \par list-verbose | lv
List all data List all data
\par list-profiles [id] | lpr [id] \par list-profiles [ID] | lpr [ID]
List profiles List profiles
\par set-profile <id> | spr <id> \par set-profile ID | spr ID
Activate a profile Activate a profile
\par list-ports [id] | lp [id] \par list-ports [ID] | lp [ID]
List ports List ports
\par set-port <id> | sp <id> \par set-port ID | sp ID
Activate a port Activate a port
\par list-devices [id] | ld [id] \par list-devices [ID] | ld [ID]
List available devices List available devices
\par get-volume <id> | gv <id> \par get-volume ID | gv ID
Get volume from device Get volume from device
\par set-volume <id> <vol> | v <id> <vol> \par set-volume ID VOL | v ID VOL
Set volume on device Set volume on device
\par inc-volume <id> | v+ <id> \par inc-volume ID | v+ ID
Increase volume on device Increase volume on device
\par dec-volume <id> | v- <id> \par dec-volume ID | v- ID
Decrease volume on device Decrease volume on device
\par get-mute <id> | gm <id> \par get-mute ID | gm ID
Get mute state from device Get mute state from device
\par set-mute <id> <val> | sm <id> <val> \par set-mute ID VAL | sm ID VAL
Set mute on device Set mute on device
\par toggle-mute <id> | m <id> \par toggle-mute ID | m ID
Toggle mute on device Toggle mute on device
# AUTHORS # AUTHORS

View file

@ -12,6 +12,11 @@ extern "C" {
#include <spa/utils/type.h> #include <spa/utils/type.h>
#include <spa/param/audio/aac.h> #include <spa/param/audio/aac.h>
/**
* \addtogroup spa_param
* \{
*/
#define SPA_TYPE_INFO_AudioAACStreamFormat SPA_TYPE_INFO_ENUM_BASE "AudioAACStreamFormat" #define SPA_TYPE_INFO_AudioAACStreamFormat SPA_TYPE_INFO_ENUM_BASE "AudioAACStreamFormat"
#define SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE SPA_TYPE_INFO_AudioAACStreamFormat ":" #define SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE SPA_TYPE_INFO_AudioAACStreamFormat ":"

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
enum spa_audio_aac_stream_format { enum spa_audio_aac_stream_format {
SPA_AUDIO_AAC_STREAM_FORMAT_UNKNOWN, SPA_AUDIO_AAC_STREAM_FORMAT_UNKNOWN,
/* Raw AAC frames */ /* Raw AAC frames */

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
struct spa_audio_info_alac { struct spa_audio_info_alac {
uint32_t rate; /*< sample rate */ uint32_t rate; /*< sample rate */
uint32_t channels; /*< number of channels */ uint32_t channels; /*< number of channels */

View file

@ -12,6 +12,11 @@ extern "C" {
#include <spa/utils/type.h> #include <spa/utils/type.h>
#include <spa/param/audio/amr.h> #include <spa/param/audio/amr.h>
/**
* \addtogroup spa_param
* \{
*/
#define SPA_TYPE_INFO_AudioAMRBandMode SPA_TYPE_INFO_ENUM_BASE "AudioAMRBandMode" #define SPA_TYPE_INFO_AudioAMRBandMode SPA_TYPE_INFO_ENUM_BASE "AudioAMRBandMode"
#define SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE SPA_TYPE_INFO_AudioAMRBandMode ":" #define SPA_TYPE_INFO_AUDIO_AMR_BAND_MODE_BASE SPA_TYPE_INFO_AudioAMRBandMode ":"

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
enum spa_audio_amr_band_mode { enum spa_audio_amr_band_mode {
SPA_AUDIO_AMR_BAND_MODE_UNKNOWN, SPA_AUDIO_AMR_BAND_MODE_UNKNOWN,
SPA_AUDIO_AMR_BAND_MODE_NB, SPA_AUDIO_AMR_BAND_MODE_NB,

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
struct spa_audio_info_ape { struct spa_audio_info_ape {
uint32_t rate; /*< sample rate */ uint32_t rate; /*< sample rate */
uint32_t channels; /*< number of channels */ uint32_t channels; /*< number of channels */

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
struct spa_audio_info_dsp { struct spa_audio_info_dsp {
enum spa_audio_format format; /*< format, one of the DSP formats in enum spa_audio_format */ enum spa_audio_format format; /*< format, one of the DSP formats in enum spa_audio_format */
}; };

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
struct spa_audio_info_flac { struct spa_audio_info_flac {
uint32_t rate; /*< sample rate */ uint32_t rate; /*< sample rate */
uint32_t channels; /*< number of channels */ uint32_t channels; /*< number of channels */

View file

@ -12,6 +12,11 @@ extern "C" {
#include <spa/utils/type.h> #include <spa/utils/type.h>
#include <spa/param/audio/iec958.h> #include <spa/param/audio/iec958.h>
/**
* \addtogroup spa_param
* \{
*/
#define SPA_TYPE_INFO_AudioIEC958Codec SPA_TYPE_INFO_ENUM_BASE "AudioIEC958Codec" #define SPA_TYPE_INFO_AudioIEC958Codec SPA_TYPE_INFO_ENUM_BASE "AudioIEC958Codec"
#define SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE SPA_TYPE_INFO_AudioIEC958Codec ":" #define SPA_TYPE_INFO_AUDIO_IEC958_CODEC_BASE SPA_TYPE_INFO_AudioIEC958Codec ":"

View file

@ -12,6 +12,11 @@ extern "C" {
#include <spa/utils/type.h> #include <spa/utils/type.h>
#include <spa/param/audio/mp3.h> #include <spa/param/audio/mp3.h>
/**
* \addtogroup spa_param
* \{
*/
#define SPA_TYPE_INFO_AudioMP3ChannelMode SPA_TYPE_INFO_ENUM_BASE "AudioMP3ChannelMode" #define SPA_TYPE_INFO_AudioMP3ChannelMode SPA_TYPE_INFO_ENUM_BASE "AudioMP3ChannelMode"
#define SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE SPA_TYPE_INFO_AudioMP3ChannelMode ":" #define SPA_TYPE_INFO_AUDIO_MP3_CHANNEL_MODE_BASE SPA_TYPE_INFO_AudioMP3ChannelMode ":"

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
enum spa_audio_mp3_channel_mode { enum spa_audio_mp3_channel_mode {
SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN, SPA_AUDIO_MP3_CHANNEL_MODE_UNKNOWN,
SPA_AUDIO_MP3_CHANNEL_MODE_MONO, SPA_AUDIO_MP3_CHANNEL_MODE_MONO,

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
struct spa_audio_info_opus { struct spa_audio_info_opus {
uint32_t rate; /*< sample rate */ uint32_t rate; /*< sample rate */
uint32_t channels; /*< number of channels */ uint32_t channels; /*< number of channels */

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
struct spa_audio_info_ra { struct spa_audio_info_ra {
uint32_t rate; /*< sample rate */ uint32_t rate; /*< sample rate */
uint32_t channels; /*< number of channels */ uint32_t channels; /*< number of channels */

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
struct spa_audio_info_vorbis { struct spa_audio_info_vorbis {
uint32_t rate; /*< sample rate */ uint32_t rate; /*< sample rate */
uint32_t channels; /*< number of channels */ uint32_t channels; /*< number of channels */

View file

@ -12,6 +12,11 @@ extern "C" {
#include <spa/utils/type.h> #include <spa/utils/type.h>
#include <spa/param/audio/wma.h> #include <spa/param/audio/wma.h>
/**
* \addtogroup spa_param
* \{
*/
#define SPA_TYPE_INFO_AudioWMAProfile SPA_TYPE_INFO_ENUM_BASE "AudioWMAProfile" #define SPA_TYPE_INFO_AudioWMAProfile SPA_TYPE_INFO_ENUM_BASE "AudioWMAProfile"
#define SPA_TYPE_INFO_AUDIO_WMA_PROFILE_BASE SPA_TYPE_INFO_AudioWMAProfile ":" #define SPA_TYPE_INFO_AUDIO_WMA_PROFILE_BASE SPA_TYPE_INFO_AudioWMAProfile ":"

View file

@ -11,6 +11,11 @@ extern "C" {
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
/**
* \addtogroup spa_param
* \{
*/
enum spa_audio_wma_profile { enum spa_audio_wma_profile {
SPA_AUDIO_WMA_PROFILE_UNKNOWN, SPA_AUDIO_WMA_PROFILE_UNKNOWN,

View file

@ -10,6 +10,12 @@ extern "C" {
#endif #endif
#include <spa/utils/type.h> #include <spa/utils/type.h>
#include <spa/pod/pod.h>
/**
* \addtogroup spa_types
* \{
*/
#define SPA_TYPE_INFO_Direction SPA_TYPE_INFO_ENUM_BASE "Direction" #define SPA_TYPE_INFO_Direction SPA_TYPE_INFO_ENUM_BASE "Direction"
#define SPA_TYPE_INFO_DIRECTION_BASE SPA_TYPE_INFO_Direction ":" #define SPA_TYPE_INFO_DIRECTION_BASE SPA_TYPE_INFO_Direction ":"
@ -20,8 +26,6 @@ static const struct spa_type_info spa_type_direction[] = {
{ 0, 0, NULL, NULL } { 0, 0, NULL, NULL }
}; };
#include <spa/pod/pod.h>
#define SPA_TYPE_INFO_Choice SPA_TYPE_INFO_ENUM_BASE "Choice" #define SPA_TYPE_INFO_Choice SPA_TYPE_INFO_ENUM_BASE "Choice"
#define SPA_TYPE_INFO_CHOICE_BASE SPA_TYPE_INFO_Choice ":" #define SPA_TYPE_INFO_CHOICE_BASE SPA_TYPE_INFO_Choice ":"

View file

@ -52,13 +52,13 @@
* - \ref PW_KEY_NODE_GROUP * - \ref PW_KEY_NODE_GROUP
* - \ref PW_KEY_NODE_LINK_GROUP * - \ref PW_KEY_NODE_LINK_GROUP
* - \ref PW_KEY_NODE_VIRTUAL * - \ref PW_KEY_NODE_VIRTUAL
* - \ref PW_KEY_NODE_NAME: See notes below. If not specified, defaults to * - \ref PW_KEY_NODE_NAME : See notes below. If not specified, defaults to
* 'filter-<pid>-<module-id>'. * 'filter-PID-MODULEID'.
* *
* Stream only properties: * Stream only properties:
* *
* - \ref PW_KEY_MEDIA_CLASS * - \ref PW_KEY_MEDIA_CLASS
* - \ref PW_KEY_NODE_NAME: if not given per stream, the global node.name will be * - \ref PW_KEY_NODE_NAME : if not given per stream, the global node.name will be
* prefixed with 'input.' and 'output.' to generate a capture and playback * prefixed with 'input.' and 'output.' to generate a capture and playback
* stream node.name respectively. * stream node.name respectively.
* *

View file

@ -461,13 +461,13 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
* - \ref PW_KEY_NODE_GROUP * - \ref PW_KEY_NODE_GROUP
* - \ref PW_KEY_NODE_LINK_GROUP * - \ref PW_KEY_NODE_LINK_GROUP
* - \ref PW_KEY_NODE_VIRTUAL * - \ref PW_KEY_NODE_VIRTUAL
* - \ref PW_KEY_NODE_NAME: See notes below. If not specified, defaults to * - \ref PW_KEY_NODE_NAME : See notes below. If not specified, defaults to
* 'filter-chain-<pid>-<module-id>'. * 'filter-chain-PID-MODULEID'.
* *
* Stream only properties: * Stream only properties:
* *
* - \ref PW_KEY_MEDIA_CLASS * - \ref PW_KEY_MEDIA_CLASS
* - \ref PW_KEY_NODE_NAME: if not given per stream, the global node.name will be * - \ref PW_KEY_NODE_NAME : if not given per stream, the global node.name will be
* prefixed with 'input.' and 'output.' to generate a capture and playback * prefixed with 'input.' and 'output.' to generate a capture and playback
* stream node.name respectively. * stream node.name respectively.
* *

View file

@ -57,13 +57,13 @@
* - \ref PW_KEY_NODE_GROUP * - \ref PW_KEY_NODE_GROUP
* - \ref PW_KEY_NODE_LINK_GROUP * - \ref PW_KEY_NODE_LINK_GROUP
* - \ref PW_KEY_NODE_VIRTUAL * - \ref PW_KEY_NODE_VIRTUAL
* - \ref PW_KEY_NODE_NAME: See notes below. If not specified, defaults to * - \ref PW_KEY_NODE_NAME : See notes below. If not specified, defaults to
* 'loopback-<pid>-<module-id>'. * 'loopback-PID-MODULEID'.
* *
* Stream only properties: * Stream only properties:
* *
* - \ref PW_KEY_MEDIA_CLASS * - \ref PW_KEY_MEDIA_CLASS
* - \ref PW_KEY_NODE_NAME: if not given per stream, the global node.name will be * - \ref PW_KEY_NODE_NAME : if not given per stream, the global node.name will be
* prefixed with 'input.' and 'output.' to generate a capture and playback * prefixed with 'input.' and 'output.' to generate a capture and playback
* stream node.name respectively. * stream node.name respectively.
* *

View file

@ -5,6 +5,8 @@
#ifndef PIPEWIRE_PRIVATE_H #ifndef PIPEWIRE_PRIVATE_H
#define PIPEWIRE_PRIVATE_H #define PIPEWIRE_PRIVATE_H
/** \privatesection */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -1298,8 +1300,6 @@ bool pw_should_dlclose(void);
void pw_log_topic_register_enum(const struct spa_log_topic_enum *e); void pw_log_topic_register_enum(const struct spa_log_topic_enum *e);
void pw_log_topic_unregister_enum(const struct spa_log_topic_enum *e); void pw_log_topic_unregister_enum(const struct spa_log_topic_enum *e);
/** \endcond */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif