mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
pcm: fix comment for snd_pcm_avail_update()
In some cases, value might be used for r/w ops, too. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
68641714a8
commit
5e91207586
1 changed files with 1 additions and 4 deletions
|
|
@ -2385,16 +2385,13 @@ int snd_pcm_wait_nocheck(snd_pcm_t *pcm, int timeout)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Return number of frames ready to be read/written
|
* \brief Return number of frames ready to be read (capture) / written (playback)
|
||||||
* \param pcm PCM handle
|
* \param pcm PCM handle
|
||||||
* \return a positive number of frames ready otherwise a negative
|
* \return a positive number of frames ready otherwise a negative
|
||||||
* error code
|
* error code
|
||||||
*
|
*
|
||||||
* On capture does all the actions needed to transport to application
|
* On capture does all the actions needed to transport to application
|
||||||
* level all the ready frames across underlying layers.
|
* level all the ready frames across underlying layers.
|
||||||
*
|
|
||||||
* Using of this function is useless for the standard read/write
|
|
||||||
* operations. Use it only for mmap access. See to #snd_pcm_delay.
|
|
||||||
*/
|
*/
|
||||||
snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_t *pcm)
|
snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_t *pcm)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue