| 1875 | } |
| 1876 | |
| 1877 | void 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 |
no outgoing calls
no test coverage detected