goldwaving

Results 9 comments of goldwaving

I'm running into this limit when working with large audio files (>2GB). Looking at `opfs_backend.h`, it already uses `off_t` to set the size of the file (regardless of `WASM_BIGINT`), so...

I made a copy of the OPFS related files to create a test version to support >4GB files. Here is a piece of the code for writing: ```c++ int _gwwasmfs_opfs_write_access(int...

Thanks for the reply. `-sRUNTIME_DEBUG` doesn't show anything unusual. I've reduced it down to the following test case. Perhaps there is something I'm not understanding about the way emscripten works...

Thanks for the suggestion. That works for the test case, but seems to give unusual heap errors in my project. There may be a separate issue with threads that allocate...

After creating a test case, it turns out that the memory allocation issue was caused by a thread using `Module.HEAP*` instead of just `HEAP*`, so it was not using [`GROWABLE_HEAP_*`...

Something seems to have been broken between 3.1.65 and 3.1.66. When I create my loop now, the first memory allocation fails with a segfault: ``` abort segfault $func102673 $pthread_setspecific $_mi_prim_thread_associate_default_heap...

Joining now works, but it appears the thread is terminated prematurely in some cases when using `emscripten_pause_main_loop`. The code below fails with a memory error. Also in certain cases `join`...

So with those values, a kernel module with a device tree overlay having `dmas = ` should connect to the PWA flow control (assuming line 24), but it doesn't. Actually...

The `0x118` value comes from the `sel-require` value of 0x100 plus the PWM flow control value (from [DREQSourcePWM0 =24](https://github.com/rsta2/circle/blob/master/include/circle/dmachannel-rp1.h)). Since the RP1 documentation fails to provide any DREQ values, I...