MCPcopy Create free account
hub / github.com/Noumena-Network/code / getEmbeddedAudioCapturePath

Function getEmbeddedAudioCapturePath

src/shims/assets/audioCapture.ts:8–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import audioCaptureX64Win32 from '../../../node_modules/@anthropic-ai/claude-agent-sdk/vendor/audio-capture/x64-win32/audio-capture.node' with { type: 'file' }
7
8export function getEmbeddedAudioCapturePath(): string | null {
9 switch (`${process.arch}-${process.platform}`) {
10 case 'arm64-darwin':
11 return audioCaptureArm64Darwin
12 case 'arm64-linux':
13 return audioCaptureArm64Linux
14 case 'arm64-win32':
15 return audioCaptureArm64Win32
16 case 'x64-darwin':
17 return audioCaptureX64Darwin
18 case 'x64-linux':
19 return audioCaptureX64Linux
20 case 'x64-win32':
21 return audioCaptureX64Win32
22 default:
23 return null
24 }
25}

Callers 1

loadNativeBindingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected