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)
commit9a73d451e67451a8cc627337754a3583a8798128
tree71143c162068e6e08306497fa42f46b4cc0fc6a4
parent7ec3566dcc3a53e4295d975390582cebd2493b50
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