MCPcopy Create free account
hub / github.com/Const-me/Whisper / CaptureThread

Method CaptureThread

Examples/MicrophoneCS/CaptureThread.cs:8–17  ·  view source on GitHub ↗
( CommandLineArgs args, Context context, iAudioCapture source )

Source from the content-addressed store, hash-verified

6 sealed class CaptureThread: CaptureCallbacks
7 {
8 public CaptureThread( CommandLineArgs args, Context context, iAudioCapture source )
9 {
10 callbacks = new TranscribeCallbacks( args );
11 this.context = context;
12 this.source = source;
13
14 thread = new Thread( threadMain ) { Name = "Capture Thread" };
15 Console.WriteLine( "Press any key to quit" );
16 thread.Start();
17 }
18
19 static void readKeyCallback( object? state )
20 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected