FastLED 3.10.6
Loading...
Searching...
No Matches

◆ Mp3MemoryFree()

void fl::third_party::Mp3MemoryFree ( void * ptr,
fl::size bytes,
Mp3MemoryTag tag )

Definition at line 98 of file mp3.cpp.hpp.

99 {
100 if (!ptr) {
101 return;
102 }
103#if defined(FASTLED_TESTING)
104 if (mp3MemoryHook()) {
105 mp3MemoryHook()->onFree(ptr, bytes, tag);
106 }
107#else
108 FL_UNUSED(bytes);
109 FL_UNUSED(tag);
110#endif
111 fl::Free(ptr);
112}
#define FL_UNUSED(x)
void Free(void *ptr)

References fl::FL_NO_EXCEPT, FL_UNUSED, and fl::Free().

Referenced by fl::third_party::Mp3MemoryDeleter< T >::operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: