Re: libnjb 2.2.4 released

Linus Walleij <[email protected]> Mon, 10 Oct 2005 23:04:35 +0200 (CEST)
Newsgroups gmane.comp.multimedia.libnjb.user
Message-ID <[email protected]>
On Mon, 10 Oct 2005, Shaun Jackman wrote:

> I think NJB_Get_Track_fd is a great addition to the API. How about
> adding the equivalent NJB_Send_Track_fd?

As discussed, the devices need the file length for transmitting metadata 
which is done before the actual file transmission occurs. When you send 
something from a file descriptor like a TCP socket or whatever you simply 
just don't know its size...

It is probably possible to add this metadata ipso facto with an update 
after the descriptor reaches EOF, but must be experimented and tested 
with.

Linus


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl