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
Added FFI function declarations in lib/index.ts:
- lsl_push_sample_l: Push single int64 sample with timestamp and pushthrough
- lsl_push_chunk_l: Push int64 chunk with single timestamp
- lsl_push_chunk_lt: Push int64 chunk with per-sample timestamps
- lsl_pull_sample_l: Pull single int64 sample from inlet
- lsl_pull_chunk_l: Pull int64 chunk with timestamps
Updated function mapping dictionaries in lib/index.ts:
- fmt2push_sample: Added mapping from cf_int64 (7) to lsl_push_sample_l
- fmt2push_chunk: Added mapping from cf_int64 to lsl_push_chunk_l
- fmt2push_chunk_n: Added mapping from cf_int64 to lsl_push_chunk_lt
- fmt2pull_sample: Added mapping from cf_int64 to lsl_pull_sample_l
- fmt2pull_chunk: Added mapping from cf_int64 to lsl_pull_chunk_l
Added BigInt64Array support in outlet.ts:
- Added case 7 (cf_int64) in pushSample TypedArray switch statement
- Added case 7 (cf_int64) in pushChunk TypedArray switch statement
- Both cases now use BigInt64Array for 64-bit integer data
Added BigInt64Array support in inlet.ts:
- Added case 7 (cf_int64) in _createSampleBuffer TypedArray switch
- Added case 7 (cf_int64) in pullChunk buffer creation switch
- Both cases now use BigInt64Array for 64-bit integer data
This completes the missing int64 implementation that was defined as cf_int64 = 7
but lacked the necessary function bindings and TypedArray support.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments