MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / doUnlock

Function doUnlock

modules/pins/i2s/audioout.c:1877–1890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1875}
1876
1877void doUnlock(modAudioOut out)
1878{
1879 if (out->built) {
1880#if defined(__APPLE__)
1881 pthread_mutex_unlock(&out->mutex);
1882#elif defined(_WIN32)
1883 LeaveCriticalSection(&out->cs);
1884#elif ESP32
1885 xSemaphoreGive(out->mutex);
1886#elif PICO_BUILD || defined(__ets__)
1887 modCriticalSectionEnd();
1888#endif
1889 }
1890}
1891
1892#if defined(__ets__) && !ESP32
1893 #if MODDEF_AUDIOOUT_BITSPERSAMPLE == 16

Callers 2

xs_audioout_enqueueFunction · 0.85
deliverCallbacksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected