MichaelPr wrote: 
> 'Pause' with Win10/VLC just stops playing (DVD-Drive keeps disk spinning
> on slow speed (guess x1) and 'play' starts playing w/o delay. 'Pause'
> with LMS on Linux/CDPlayer stops playing (don't know if the disk kept
> spinning) and after 'play' spinning speeds up with max. speed. Then it
> takes about 15 sec. to resume at the org. position.

The plugin starts a separate instance of cdda2wav for each track. 
The plugin aimed to be simepl by using a common exe to habdle CDs across
Windows, Linux and OSX and keep OS specfic system calls to minimum (e.g.
on Linux cd specific calls are used to get status of drive/door and cd
type in drive - better user feedback)

cdda2wav is a ripper not a player - once started it does not provide the
capability to "pause" a track rip but it can started at a timepoint in a
track.

When LMS plays a a track, data stream from cdda2wav goes into a pipe
(and OS buffers) and then into LMS input side buffers (e.g. flac) and
then into player buffer. It is possible to enable pause (via settings)
but if pause is too long cdda2wav may have finished ripping and some
audio never gets into buffers. So depending on size of buffers (which is
system dependent) when play is resumed track may be cut short.  More
reliable approach used was to record time position at pause and restarts
cdda2wav  when play ius restarts - actual delay is system dependent.

VLC may be taking the approach of ripping whole tracks into memory in
background (with VLC readahead of next track) and so can play /pause
track as it is total control of whole track as it a player only system
and can use disk / memory to temp store audio data.  VLC is mainly a
video player and so can play video DVDs and so has more capabilities to
handle BD/DVD/CD drive and knows it has to implement schemes to handle
big volumes of data and not be subject to drive delays.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to