Handle partial ALSA PCM writes
authorKeith Packard <keithp@keithp.com>
Sun, 9 Aug 2009 23:08:07 +0000 (16:08 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 9 Aug 2009 23:08:07 +0000 (16:08 -0700)
commitcd5456f18e4b39ad76d5549df91a0e0cfb18a2e9
tree9ac8fc28819ffa6250a119e11fd1b4ee155fed84
parent3056cb8eef5aee0dcd342488386355d8b8f574c8
Handle partial ALSA PCM writes

The ALSA spec says that snd_pcm_writei will not return a partial write, but
at least on the OLPC, that's not true. Deal with this.

Signed-off-by: Keith Packard <keithp@keithp.com>
aoview/aoview_flite.c