Hi Alexandru,

Tricky issue. By default, requests are for stereo, unless the type
inference system sees that another type is needed. This holds for
streaming (request.dynamic, playlists, etc.) and also for manual
request manipulation (what you're experiencing). In the first case,
you may need conversions and sometimes some annotations to inform the
type system. In the latter case, type annotations seem to be the only
way... I'm disliking more and more this default type assignment, it
plays too many tricks on users.

You should be fine after replacing request.create(..) by
((request.create(..)):source(*+1,0,0)), which tells liquidsoap that
this request may contain any non-empty audio, including mono and
stereo.

Hope this helps,
-- 
David

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to