Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: [ANNOUNCE] vdr-softdevice-0.0.7pre2
On Sun, 2004-07-25 at 22:16, Stefan Lucke wrote:
> Hi,
>
> next pre release of softdevice plugin is ready.
My ice1712 based card don't have any master volume so setting volume
causes an assert in alsalib. Patch included.
I think that a/v resync is handled well when the audio is behind the
video, but not the opposite. Is this the case?
--
Torgeir Veimo <torgeir@pobox.com>
--- softdevice-0.0.7pre2-orig/audio.c 2004-05-18 21:43:54.000000000 +0100
+++ softdevice-0.0.7pre2/audio.c 2004-07-26 22:41:38.083716960 +0100
@@ -234,6 +234,7 @@
snd_mixer_selem_register(mHandle, NULL, NULL);
snd_mixer_load(mHandle);
mElem = snd_mixer_find_selem(mHandle,sId);
+ if (!mElem) return; // some card don't have any master volume
snd_mixer_selem_get_playback_volume_range(mElem,&mixerMin,&mixerMax);
mixerRange = mixerMax - mixerMin;
volPercent = (double) vol / 255.0;
Home |
Main Index |
Thread Index