This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dev:disk_streaming [2015/04/09 14:22] – [Design] deva | 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/ | ||
+ | |||
+ | Request : // | ||
+ | |||
+ | If filename/ | ||
+ | |||
+ | Once a file is opened, it should stay opened as long as the sample is active. |