snd_pcm_writei errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an ALSA application running in x64 Linux (Fedora 20).

The application receives some PCM data to play over a network connection,
and calls snd_pcm_writei. The playback device is "default", which in
my case is the PulseAudio Sound Server.

Mostly, things go very smoothly, but there are two kinds of errors
that sometimes
occur.

The first error is that not all the data is written, a "short write". It's easy
enough to make additional calls until all the data is written, but why does
that occur?

The second error is "Resource temporarily unavailable". Why does that
happen, and is there any way to avoid it?

-- Paul

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux