Image display during mp3 replay / DeviceStillPicture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I want to display various (cover) images in Muggle during music replay. 
Thus, the background image displayed using DeviceStillPicture needs to 
be changed during replay.

The code I use is from the background cover patch for the mp3 plugin. It 
works fine, but the music replay is interrupted for a short period when 
the image changes. I suspect, that the sleep statement in the original 
code is responsible for this:

             if( the_setup.UseDeviceStillPicture )
                {
                  sleep(1);
                  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?

Lars

P.S. In case this is of help: I use vdr-1.3.33, kernel 2.6-11 with 
kernel drivers, firmware 261f, TT DVB-s rev1.5

---





[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux