[vdr] Image display during mp3 replay / DeviceStillPicture
s.huelswitt at gmx.de
Sun Oct 2 11:47:47 CEST 2005
On 02 Oct 2005 Lars von Wedel <vonwedel at web.de> wrote:
> if( the_setup.UseDeviceStillPicture )
> DeviceStillPicture( buffer, sp.size );
> In its original environment, the code is fine as the fragment above is
> executed before music replay starts. Removing the sleep statement makes
> the whole thing crash.
> Any ideas, how I can display alternating background images while
> replaying music?
For me it seems that one have to wait until the device audio
buffer is empty or the firmware will freeze.
>From my experience it's enough to wait for usleep(80000) to
prevent a crash (see mp3 plugin code).
s.huelswitt at gmx.de | http://www.muempf.de/
More information about the vdr