You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
staticconstint OpenError_DRMProtected = 1016; ///< The file is DRM-protected and cannot be decoded.
57
58
58
59
bool HLSAutomaticAlternativeSwitching; ///< If true, then the decoder will automatically switch between the HLS alternatives according to the available network bandwidth. Default: true.
59
60
int HLSMaximumDownloadAttempts; ///< How many times to retry if a HLS segment download fails. Default: 100.
@@ -294,38 +295,38 @@ class AudioInMemory {
294
295
/// @param size For compressed (not decoded) audio data: the total payload size in bytes. For raw 16-bit PCM audio: the total duration in frames. Set to 0 if unknown at the beginning (eg. progressive download). Set it at any point later if it gets known.
295
296
/// @param completed False if additional buffers can be added (such as progressive download), true otherwise.
/// @return Creates a main table with the payload included (special "self-contained" case).
299
300
/// @param retainCount The retain count can be used to track usage (eg. multiple simultaneous access). If set to 0, the Decoder and the AdvancedAudioPlayer will take ownership on all the memory allocated (the main table, the buffer tables and their payloads) and will automatically free them using free(). The allocation should happen using malloc() (and not _aligned_malloc() or similar).
300
301
/// @param samplerate Samplerate is used with the AdvancedAudioPlayer only (valid range is 8192 to 384000) and must be correctly set right at the beginning. Set it to 0 if using the Decoder.
301
302
/// @param size For compressed (not decoded) audio data: the total payload size in bytes. For raw 16-bit PCM audio: the total duration in frames. Set to 0 if unknown at the beginning (eg. progressive download). Set it at any point later if it gets known.
/// @param size For compressed (not decoded) audio data: the total payload size in bytes. For raw 16-bit PCM audio: the total duration in frames. Set to 0 if unknown at the beginning (eg. progressive download). Set it at any point later if it gets known.
0 commit comments