The player calls this function to wait for all written data to be rendered.
|
Parameters |
Description |
|
flags |
[in] no flags currently defined |
|
Return Values |
Description |
|
0 |
drain failed, or drain canceled |
|
1 |
drain completed |
Once called, the implementing module should not return from this function until it has rendered (played) all audio data. Input modules call this function so they can know when all the data passed to Write has been rendered. Normally Input modules call this at the end of the audio data stream, just prior to calling Stop.
|
Copyright (c) Quinnware 2007. All rights reserved.
|