Quoting Malcolm Caldwell <[EMAIL PROTECTED]>: > On Wed, 2006-09-27 at 00:17 +0300, Marko Mäkelä wrote: > > On Tue, Sep 26, 2006 at 10:56:41PM +0200, Martin Wache wrote: > > > Laz, how do you suspend your vdr? Do you use Marko's patch or the > > > softdevice suspend method? > > > > I understood that he just pauses some recording, and he sometimes gets > > the hang when he resumes playback. There was a suspend plugin > > for some vdr 1.3 version that did roughly so. > > Just to say me-too. I have had a hang after resuming a paused playback. > I can not say how many times this has happened, but it would be at least > 5.
Just another me too. If I remember my situation correct, I've had 2 or 3 times the same with xv-out: paused video, window blanked. After continuing playback, there was a short time with audio and nothing else. Had to CONTROL-C (killall -9) from command window. There are some essential operations in audio-alsa.c , which are not protected by handleMutex: Suspend(), Resume() and calling snd_pcm_mmap_writei() after while (paused) usleep(1000); . Problem here is, that we need to differ between read and write locks. Read locks for all operations on handle (including snd--writei()) and write lock for those which change the state of handle. Vdr's class cRwLock was introduced in the late 1.3.xx time. So we have to decide: 1. make a lokal copy of that code to support all vdr versions 2. make softdevice a vdr-1.4.x plugins only Stefan _______________________________________________ Softdevice-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/softdevice-devel
