[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Wish list: file seek
From: |
Krzysztof Kamieniecki |
Subject: |
Re: [Discuss-gnuradio] Wish list: file seek |
Date: |
Tue, 1 Feb 2005 08:38:56 -0500 |
User-agent: |
Internet Messaging Program (IMP) 3.2.2 |
Quoting Eric Blossom <address@hidden>:
> On Mon, Jan 31, 2005 at 04:15:07PM -0500, cswiger wrote:
> > Our function gr.file_source() does not appear to have any
> > seek ability - this would be a nice feature to have for recording
> > and playing back long time periods. AFAICT it starts at the beginning
> > plays a file once or repeats in a loop. Being able to seek to a
> > specific block sure would allow finer control over playback, as it
> > is you just have to wait.
>
> Sounds like a good idea.
>
> I'd suggest having the units that you're seeking be samples. Then
> implement the normal SEEK_SET, SEEK_CUR, SEEK_END semantics.
>
> Any volunteers?
>
> Eric
Not volunteering but at the same time it might be useful to add functionality to
loop over a subset of the file.