Closing of the sample file can either occur when the sample finishes playing or when the last part to the played has been read into the buffer. The latter is useful for system shutdown players that need to play entirely from memory because of the global file closure. Some operations (like resetting the play pointer) are not possible once the file has been closed so the default is to keep the file open until sound has stoppped. Note that while play looping is enabled the file will *not* be closed regardless of the setting of this bit.

[ Parent ] [ Manual root ]