[oss-devel] [PATCH] Add seek option to ossplay

Hannu Savolainen hannu at opensound.com
Sat Apr 19 21:33:56 EEST 2008


Yair K. wrote:
> Hi,
>
>   This patch adds a seek ('-S') option to ossplay. ossplay -S1 starts playback 
> 1 second after sound starts. As an option this isn't too useful - the main 
> reason I did this is that if someone does a GUI frontend, then being able to 
> seek back and forth is expected. There are some assorted changes as well (a 
> wrapper for strdup(), software conversion for AFMT_U16 formats, etc.).
>   
Could you change -S to work on milliseconds (or maybe 1/10th of seconds) 
and send a new patch. Granularity of a second is probably too much.

Best regards,

Hannu


More information about the oss-devel mailing list