mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
fix doc errors
Fix various errors in the documentation that make doxygen complain. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
This commit is contained in:
parent
0ed67883af
commit
5332d74a67
13 changed files with 22 additions and 17 deletions
|
|
@ -463,7 +463,7 @@ void set_tempo(snd_seq_t *handle)
|
|||
\endcode
|
||||
|
||||
For changing the (running) queue's tempo on the fly, you can either
|
||||
set the tempo via #snd_seq_queue_tempo() or send a MIDI tempo event
|
||||
set the tempo via #snd_seq_set_queue_tempo() or send a MIDI tempo event
|
||||
to the system timer port. For example,
|
||||
\code
|
||||
int change_tempo(snd_seq_t *handle, int q, unsigned int tempo)
|
||||
|
|
@ -540,7 +540,7 @@ to the specified port.
|
|||
For example, when a port makes READ subscription
|
||||
to MIDI input port, this port must have #SND_SEQ_PORT_CAP_WRITE capability,
|
||||
but no #SND_SEQ_PORT_CAP_SUBS_WRITE capability is required.
|
||||
Only MIDI input port must have #SND_SEQ_PORT_SUBS_READ capability.
|
||||
Only MIDI input port must have #SND_SEQ_PORT_CAP_SUBS_READ capability.
|
||||
|
||||
As default, the connection of ports via the third client is always allowed
|
||||
if proper read and write (subscription) capabilities are set both to the
|
||||
|
|
@ -579,7 +579,7 @@ snd_seq_subscribe_port(handle, subs);
|
|||
|
||||
When the connection should be exclusively done only between
|
||||
a certain pair, set <i>exclusive</i> attribute to the subscription
|
||||
record before calling #snd_seq_port_subscribe.
|
||||
record before calling #snd_seq_subscribe_port.
|
||||
\code
|
||||
snd_seq_port_subscribe_set_exclusive(subs, 1);
|
||||
\endcode
|
||||
|
|
@ -663,7 +663,7 @@ Assume connection from application 128:0 to 129:0,
|
|||
and that subscription is done by the third application (130:0).
|
||||
The sender must have capabilities both
|
||||
#SND_SEQ_PORT_CAP_READ and
|
||||
#SND_SEQ_PORT_SUBS_READ,
|
||||
#SND_SEQ_PORT_CAP_SUBS_READ,
|
||||
and the receiver
|
||||
#SND_SEQ_PORT_CAP_WRITE and
|
||||
#SND_SEQ_PORT_CAP_SUBS_WRITE, respectively.
|
||||
|
|
@ -1471,7 +1471,7 @@ int snd_seq_client_info_get_client(const snd_seq_client_info_t *info)
|
|||
* \param info client_info container
|
||||
* \return client type
|
||||
*
|
||||
* The client type is either #SEQ_CLIENT_TYPE_KERNEL or #SEQ_CLIENT_TYPE_USER
|
||||
* The client type is either #SND_SEQ_KERNEL_CLIENT or #SND_SEQ_USER_CLIENT
|
||||
* for kernel or user client respectively.
|
||||
*
|
||||
* \sa snd_seq_get_client_info()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue