PROGRAMMER'S GUIDEBranch playback library
BackForward
Branch playback library

4. File placement on disk


The total number of streams that can be read ahead is up to the CD buffer capacity (up to 200 sectors). Therefore, streams that exceed the capacity and cannot be read ahead cannot be branched without delay.

(1) Non-interleaved branch candidates
If the branch candidates of A are B and C and the file layout on the disk is as shown in Fig. 4.1, the only file that can be read ahead is B.
There is no problem if you can seek and branch to B and C with only the look-ahead of A in time. However, if both B and C need to be read ahead in order to delay the branch selection timing, in this example it will not be possible to branch to C without delay.

Figure 4.1 Non-interleaved branch candidates (C look-ahead is not possible)

(2) Overall interleaving of branch candidates
To branch to B and C without delay after playing A, there is a method of interleaving B and C after A as shown in Fig. 4.2.

Figure 4.2 Overall interleaving of branch candidates (all of B and C)

(3) Partial interleaving of branch candidates
As shown in Figure 4.3, you can also divide B into B1 and B2, C into C1 and C2, and place only B1 and C1 interleaved.
In this case, it is only necessary to interleave only a part of B and C (B1, C1), and it is possible to seek to B2 and C2, and the independence is high. However, you will need to split the file.

Figure 4.3 Partial interleaving of branch candidates (parts of B and C)


BackForward
PROGRAMMER'S GUIDEBranch playback library
Copyright SEGA ENTERPRISES, LTD., 1997