[ http://dev.sourcefabric.org/browse/LS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19060#action_19060 ]
Samuel Mimram commented on LS-591: ---------------------------------- You approach seems simple, but I am not sure that loading a whole track in memory is a good idea, even if the track is compressed (it might be very long or encoded in flac...). My idea would be more to use variable-length buffers, each buffer containing a chunk/frame/page of compressed data. For instance an mp3 frame contains 1152 samples (MPEG1) or 576 samples (MPEG2/2.5), this should be the length of our buffers. And of course, this length can be variable with ogg... If we want to decode data on the fly (for instance for crossfades) then we should introduce buffers compensating the fact that the two streams might not have matching buffer lengths... > Support RAW sources > ------------------- > > Key: LS-591 > URL: http://dev.sourcefabric.org/browse/LS-591 > Project: Liquidsoap > Issue Type: New Feature > Reporter: Samuel Mimram > Priority: Major > Fix For: LONG TERM > > > We should try to have RAW sources (i.e. sources that can contain mp3 / ogg / > any compressed data). And add some operators for on-demand decoding. Of > course, this is long-term work, but we could first make a branch with support > for non-processed raw source (e.g. a playlist of mp3 without transitions) and > elaborate from there. Do you forsee any big technical difficulty (apart from > having to bind low-level functions to access compressed streams)? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl