noaudio: correctly account acquired samples
authorMichael Walle <michael@walle.cc>
Tue, 4 Jan 2011 00:48:55 +0000 (01:48 +0100)
committermalc <av1474@comtv.ru>
Tue, 4 Jan 2011 00:53:47 +0000 (03:53 +0300)
commit8a7d0890acd03f45f1d86e12449938891ae18ed9
tree71143c162068e6e08306497fa42f46b4cc0fc6a4
parent011da610ba6416df54feed46bcde1955211a2149
noaudio: correctly account acquired samples

This will fix the return value of the function which otherwise returns too
many samples because sw->total_hw_samples_acquired isn't correctly
accounted.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: malc <av1474@comtv.ru>
audio/noaudio.c