[alsa-devel] aplay patch to add a --seek parameter
Lars Magne Ingebrigtsen
larsi at gnus.org
Sat Apr 16 02:54:49 CEST 2011
Clemens Ladisch <clemens at ladisch.de> writes:
> Please provide a Signed-off-by tag, document whether this option takes
> samples, frames, or (milli)seconds, and add this option to the man page.
> Furthermore, the code doesn't look as if it correctly skips over chunks
> in VOC files.
The --seek number is in bytes, so it assumes that the caller knows what
the internal structure of the file is. For my usage (which is a simple
visual wave form editor), this makes sense, but specifying it in
milliseconds would probably be even more useful, I guess?
I'm not that familiar with the aplay internals, but so if someone who
are familiar were to transform the patch into "seek to millisecond X",
that would be nice.
Signed-off-by: Lars Magne Ingebrigtsen <larsi at gnus.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aplay-diff
Type: application/octet-stream
Size: 2877 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20110416/9ee88512/attachment.dll
-------------- next part --------------
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
More information about the Alsa-devel
mailing list