On 9/17/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Adam Marek wrote:
> > Hi,
> > I have a Freevo setup with two sound cards - one used for general
> > playback (alsa:hw:1) and the other one (alsa:hw:0) exclusively for
> > capturing audio from TV (its AUX input is connected via a patch cable
> > to the TV tuner card).
> > In order to enable capture on alsa:hw:0 I use the VCR_PRE_REC cmd to
> > select AUX as the capture source, set capture volume to a reasonable
> > volume and enable capture.
> >
> > Everything works OK, that is the TV soundtrack is captured and encoded
> > fine via mencoder, as long as I don't try to do any playback using
> > MPlayer simultaneously. I have a lot o spare cycles (Pentium M 1.7) so
> > performance is not an issue here but for some weird reason every time
> > MPlayer is invoked by Freevo to play something using sound card 1, the
> > capture settings on sound card 0 are reset as well (capture volume is
> > set to 0 and capture is disabled). The result is a silent recording.
> >
> > I have verified that invoking MPlayer for playback manually (outside
> > the Freevo framework, but using exactly the same cmd line - extracted
> > from Freevo logs) does not reset the capture settings so the culprit
> > here seem to be Freevo itself.
> >
> > I am stuck on this one, I took a look at Freevo source code but I
> > don't see any fiddling with capture settings while invoking playback.
> > Has any one encountered (and hopefully solved) such phenomenon ?
> >
> > Best regards,
> > Adam Marek
> Have you turned off CONTROL_ALL_AUDIO in the local_conf.py?
>
> The default is:
> CONTROL_ALL_AUDIO   = 1               # Should Freevo take complete
> control of audio
>
> Otherwise there is something in mixer.py that would need to hacked away.
>
> Duncan
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Freevo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>

Setting CONTROL_ALL_AUDIO to 0 did the trick.
Thanks a lot!

Adam

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to