Re: Drain method
Greg Wright <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel |
|---|---|
| Message-ID | <[email protected]> |
Nguyen, Khanh V wrote: > Hi, > > I’ve noticed that there’s a Drain method in the IHXAudioDevice > interface, but I didn’t see it being called. I tested this by playing > the whole file. I thought it would be called at the end, but it didn’t. > I’ve tested this with the latest RP4N. > > Is there a case scenario where Drain method will be called? It is typically not used in normal playback as playback doesn't stop until the natural end of the time line (all audio packets consumed). But, it is part of the interface and so can be called by developers if needed. --greg.