Fix the 'hard cpu loop' problem when capturing audio from /dev/dsp. This
authorPhilip Gladstone <philipjsg@users.sourceforge.net>
Wed, 5 Feb 2003 01:59:52 +0000 (01:59 +0000)
committerPhilip Gladstone <philipjsg@users.sourceforge.net>
Wed, 5 Feb 2003 01:59:52 +0000 (01:59 +0000)
commit79134973d862af5e22cf8909df690e3e1d4b256e
tree0fad003bad330a19b1135dd20adfe4aa71124047
parent85a57296ccf4beffb485762a38fc927f51033574
Fix the 'hard cpu loop' problem when capturing audio from /dev/dsp. This
code now waits for up to 30ms before reporting that no packet is available.

Originally committed as revision 1546 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/audio.c