[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implementation of music streams
From: |
Han-Wen Nienhuys |
Subject: |
Re: Implementation of music streams |
Date: |
Sun, 14 May 2006 22:58:42 +0200 |
2006/5/14, Erik Sandberg <address@hidden>:
> > There's a problem with that: Context creation is triggered by stream
> > events, which tell which unique value to use for the new context. So
> > the unique value needs to be there before the context has been
> > created.
>
> I don't understand this argument.
What should be the value of the 'unique field of a CreateContext event?
When writing, the 'unique field to be written is determined by the file writer.
When reading, the field indicating the context where any event has to
go is as int. This int is mapped to a Context* by a separate lookup
table.
As you noticed before, nobody looks at the unique field, which
suggests to me that it is superfluous.
--
Han-Wen Nienhuys
address@hidden
http://www.xs4all.nl/~hanwen
- Implementation of music streams, Erik Sandberg, 2006/05/13
- Re: Implementation of music streams, Han-Wen Nienhuys, 2006/05/13
- Re: Implementation of music streams, Erik Sandberg, 2006/05/13
- Re: Implementation of music streams, Erik Sandberg, 2006/05/13
- Re: Implementation of music streams, Nicolas Sceaux, 2006/05/14
- Re: Implementation of music streams, Han-Wen Nienhuys, 2006/05/14
- Re: Implementation of music streams, Erik Sandberg, 2006/05/14
- Re: Implementation of music streams,
Han-Wen Nienhuys <=
- Re: Implementation of music streams, Erik Sandberg, 2006/05/14
- Re: Implementation of music streams, Han-Wen Nienhuys, 2006/05/14
- Re: Implementation of music streams, Erik Sandberg, 2006/05/15
- Re: Implementation of music streams, Han-Wen Nienhuys, 2006/05/15
- Re: Implementation of music streams, Erik Sandberg, 2006/05/15
Re: Implementation of music streams, Han-Wen Nienhuys, 2006/05/15