Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dev:disk_streaming [2015/04/09 14:22]
deva [Design]
dev:disk_streaming [2015/04/09 17:35] (current)
deva
Line 22: Line 22:
  
 The samples are stored in multi-channel wav files, so we want to read in multiple channels at once in the loader thread since all channels are played (and therefore loaded) in parallel. Therefore the EventSample should be referencing the Sample object and not the AudioFile object alone... The samples are stored in multi-channel wav files, so we want to read in multiple channels at once in the loader thread since all channels are played (and therefore loaded) in parallel. Therefore the EventSample should be referencing the Sample object and not the AudioFile object alone...
 +
 +=====FileLoader=====
 +Receives events/​queries for chunk loading.
 +
 +Request : //​(filename/​ref,​ channelnumber,​ position [size from manager??​])//​
 +
 +If filename/​ref and position is the same on consecutive requests, but the channel numbers are different, the requests are reads from the same multi-channel file and is to be collapsed into a single read with writes to multiple buffers. ​
 +
 +Once a file is opened, it should stay opened as long as the sample is active.
dev/disk_streaming.txt ยท Last modified: 2015/04/09 17:35 by deva
Trace:
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0