Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/altic-dev/FluidVoice
/ functions
Functions
2,803 in github.com/altic-dev/FluidVoice
⨍
Functions
2,803
◇
Types & classes
661
↓ 165 callers
Method
info
(_ message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:147
↓ 151 callers
Method
fill
(_ buffer: AVAudioPCMBuffer, channel: Int, with value: Float)
Tests/FluidDictationIntegrationTests/AudioBufferConverterTests.swift:85
↓ 122 callers
Method
debug
(_ message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:164
↓ 100 callers
Method
append
(line: String)
Sources/Fluid/Services/FileLogger.swift:44
↓ 80 callers
Method
cancel
()
Sources/Fluid/Services/LocalAPI/LocalAPIServer.swift:131
↓ 77 callers
Method
error
(_ message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:160
↓ 68 callers
Method
warning
(_ message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:156
↓ 42 callers
Method
providerKey
(for providerID: String)
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:245
↓ 40 callers
Method
prefix
(in text: String, before location: Int)
Sources/Fluid/Services/TypingService.swift:1098
↓ 37 callers
Method
withLock
(_ block: () -> T)
Sources/Fluid/Services/GlobalHotkeyManager.swift:222
↓ 33 callers
Method
decode
(_ data: Data)
Sources/Fluid/Persistence/BackupService.swift:169
↓ 33 callers
Method
run
(_ operation: @escaping () async throws -> T)
Sources/Fluid/Services/ASRService.swift:18
↓ 33 callers
Method
withRestoredDefaults
(keys: [String], run: () throws -> Void)
Tests/FluidDictationIntegrationTests/HotkeyShortcutTests.swift:1411
↓ 30 callers
Method
onAppear
()
Sources/Fluid/UI/AISettings/VoiceEngineSettingsViewModel.swift:64
↓ 28 callers
Method
isBuiltIn
Check if a provider ID is a built-in provider
Sources/Fluid/Services/ModelRepository.swift:106
↓ 27 callers
Method
withRestoredDefaults
(keys: [String], run: () -> Void)
Tests/FluidDictationIntegrationTests/DictationE2ETests.swift:2263
↓ 23 callers
Method
device
(uid: String, name: String, transportType: UInt32)
Tests/FluidDictationIntegrationTests/HotkeyShortcutTests.swift:1396
↓ 22 callers
Method
log
(_ message: @autoclosure () -> String)
Sources/Fluid/Services/TypingService.swift:14
↓ 22 callers
Method
send
(_ response: LocalAPI.Response)
Sources/Fluid/Services/LocalAPI/LocalAPIServer.swift:166
↓ 21 callers
Method
dictationPromptSelection
(for slot: DictationShortcutSlot)
Sources/Fluid/Persistence/SettingsStore.swift:461
↓ 20 callers
Method
defaultBaseURL
Returns the default base URL for a given provider ID.
Sources/Fluid/Services/ModelRepository.swift:60
↓ 19 callers
Method
stop
()
Sources/Fluid/Services/DirectCoreAudioInput.swift:382
↓ 18 callers
Method
start
()
Sources/Fluid/Services/DirectCoreAudioInput.swift:381
↓ 17 callers
Method
decode
(_ data: Data)
Sources/Fluid/Services/DictionaryTransferService.swift:253
↓ 17 callers
Method
reconcileMicrophoneSelection
(availableInputs: [AudioDevice.Device], defaultInputUID: String?)
Sources/Fluid/Services/MicrophonePreferenceCoordinator.swift:199
↓ 16 callers
Method
open
()
Sources/Fluid/Services/AudioStartupGate.swift:44
↓ 15 callers
Method
benchmarkLog
(_ message: String)
Sources/Fluid/Services/ASRService.swift:472
↓ 15 callers
Method
error
(_ message: String, status: Int)
Sources/Fluid/Services/LocalAPI/LocalAPIModels.swift:80
↓ 14 callers
Method
applySpokenPunctuationFormatting
(_ text: String, appName: String?, bundleID: String?, windowTitle: String?)
Sources/Fluid/Services/ASRService+SpokenPunctuationFormatting.swift:4
↓ 14 callers
Method
refreshProviderItems
Refreshes the cached provider items. Call this when providers or connection status changes.
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:313
↓ 13 callers
Method
isAvailable
(settings: SettingsStore)
Sources/Fluid/Services/PrivateAIProviderPromptFormat.swift:8
↓ 13 callers
Method
isModelInstalled
(_ model: PrivateAIRegisteredModel)
Sources/Fluid/Services/PrivateAIProvider.swift:208
↓ 13 callers
Method
setDictationPromptSelection
(_ selection: DictationPromptSelection)
Sources/Fluid/Persistence/SettingsStore.swift:457
↓ 12 callers
Method
benchmark
(_ marker: String, message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:151
↓ 12 callers
Method
capture
(eventName: String, distinctID: String, enabled: Bool, config: AnalyticsConfig, properties: [String: Any])
Sources/Fluid/Analytics/AnalyticsService.swift:207
↓ 12 callers
Method
ensureAsrReady
()
Sources/Fluid/Services/ASRService.swift:3862
↓ 12 callers
Method
getDefaultInputDevice
()
Sources/Fluid/Services/AudioDeviceService.swift:197
↓ 12 callers
Method
stripBasePrompt
Remove a hidden base prompt prefix for a given mode if it was persisted previously.
Sources/Fluid/Persistence/SettingsStore.swift:1071
↓ 11 callers
Method
close
()
Sources/Fluid/Services/LocalAPI/LocalAPIServer.swift:188
↓ 11 callers
Method
defaultModels
Returns the default models for a given provider ID. This is used when the user has not added any custom models for that provider.
Sources/Fluid/Services/ModelRepository.swift:30
↓ 11 callers
Method
fluidButton
(_ role: FluidButtonRole, size: FluidButtonSize, isRecording: Bool)
Sources/Fluid/Theme/NativeButtonStyles.swift:64
↓ 11 callers
Method
hide
()
Sources/Fluid/Views/BottomOverlayView.swift:159
↓ 11 callers
Method
hide
()
Sources/Fluid/Services/NotchOverlayManager.swift:313
↓ 11 callers
Method
inputDeviceForCapture
()
Sources/Fluid/Services/MicrophonePreferenceCoordinator.swift:337
↓ 11 callers
Method
modelIDs
()
Sources/Fluid/Services/PrivateAIProvider.swift:173
↓ 11 callers
Method
providerAPIKey
(for providerID: String)
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:256
↓ 11 callers
Method
reduce
(value: inout CGFloat, nextValue: () -> CGFloat)
Sources/Fluid/Views/BottomOverlayView.swift:1943
↓ 11 callers
Method
stopWithoutTranscription
()
Sources/Fluid/Services/ASRService.swift:2527
↓ 11 callers
Method
transcribe
Transcribe audio samples - Parameter samples: 16kHz mono PCM float samples - Returns: Transcription result with text and confidence
Sources/Fluid/Services/TranscriptionProvider.swift:145
↓ 10 callers
Method
activate
(draftPromptText: String)
Sources/Fluid/Services/DictationPromptTestCoordinator.swift:21
↓ 10 callers
Method
invalidate
()
Sources/Fluid/Services/DirectCoreAudioInput.swift:385
↓ 10 callers
Method
overlayBench
(_ message: String)
Sources/Fluid/Services/NotchOverlayManager.swift:498
↓ 10 callers
Method
prepare
Download/prepare models for transcription.
Sources/Fluid/Services/TranscriptionProvider.swift:140
↓ 10 callers
Method
saveSavedProviders
()
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:535
↓ 10 callers
Method
scheduleAudioRouteRecovery
(reason: String, requiresIdlePrewarm: Bool, reconcilesInputSelection: Bool)
Sources/Fluid/Services/ASRService.swift:3046
↓ 10 callers
Method
setOverlayMode
(_ mode: OverlayMode)
Sources/Fluid/Services/MenuBarManager.swift:333
↓ 10 callers
Method
show
(audioLevelPublisher: AnyPublisher<CGFloat, Never>, mode: OverlayMode)
Sources/Fluid/Services/NotchOverlayManager.swift:152
↓ 10 callers
Method
stopRecordingIfNeeded
()
Sources/Fluid/Services/GlobalHotkeyManager.swift:1946
↓ 9 callers
Method
candidate
(before: String, after: String, insertedRange: NSRange, allowsInsertionAtEnd: Bool)
Sources/Fluid/Services/AutomaticDictionaryCorrectionTracker.swift:81
↓ 9 callers
Method
dismiss
()
Sources/Fluid/Views/AutomaticDictionaryCorrectionOverlay.swift:128
↓ 9 callers
Method
encode
(to encoder: Encoder)
Sources/Fluid/Models/HotkeyShortcut.swift:325
↓ 9 callers
Method
getReasoningConfig
Get reasoning config for a specific model, with smart defaults for known models
Sources/Fluid/Persistence/SettingsStore.swift:2924
↓ 9 callers
Method
listInputDevicesRefreshingLiveness
Refreshes the HAL liveness snapshot. Call only from an existing background hardware-refresh path; UI and capture selection consume the cached value.
Sources/Fluid/Services/AudioDeviceService.swift:161
↓ 9 callers
Method
log
(_ message: String, level: LifecycleLogLevel)
Sources/Fluid/Services/DirectCoreAudioInput.swift:1485
↓ 9 callers
Method
matches
(model: String)
Sources/Fluid/Services/PrivateAIProvider.swift:177
↓ 9 callers
Method
mergeAdjacentTurns
Merge consecutive turns from the same speaker separated by short gaps. Fewer, longer turns give the ASR more context per slice and read better. Merged
Sources/Fluid/Services/SpeakerDiarizationService.swift:87
↓ 9 callers
Method
monoSamples
(from buffer: AVAudioPCMBuffer, targetSampleRate: Double)
Sources/Fluid/Services/AudioBufferConverter.swift:31
↓ 9 callers
Method
receive
()
Sources/Fluid/Services/LocalAPI/LocalAPIServer.swift:135
↓ 9 callers
Method
scheduleOpenAfterInitialUISettled
Schedule opening the gate once. Safe to call multiple times.
Sources/Fluid/Services/AudioStartupGate.swift:18
↓ 9 callers
Method
setDictationPromptSelection
(_ selection: SettingsStore.DictationPromptSelection, for slot: SettingsStore.DictationShortcutSlot)
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:1896
↓ 9 callers
Method
wait
(sessionID: Int, attemptID: UInt64, timeoutNanoseconds: UInt64)
Sources/Fluid/Services/AudioCaptureReadinessGate.swift:44
↓ 8 callers
Method
arm
(sessionID: Int, attemptID: UInt64)
Sources/Fluid/Services/AudioCaptureReadinessGate.swift:29
↓ 8 callers
Method
canTriggerRecordingAction
(_ label: String)
Sources/Fluid/Services/GlobalHotkeyManager.swift:1896
↓ 8 callers
Method
cancelPrewarmDictationIfNeeded
Cancel an in-flight prewarm. Called on abort / new recording start — NOT on a normal stop, because AI post-processing runs after stop and benefits fro
Sources/Fluid/ContentView.swift:3020
↓ 8 callers
Method
checkIfModelsExistAsync
Check if models exist on disk without loading them (async). This method performs an accurate async check for providers that require it (e.g., `AppleS
Sources/Fluid/Services/ASRService.swift:1451
↓ 8 callers
Method
encode
(to encoder: Encoder)
Sources/Fluid/Services/MeetingTranscriptionService.swift:86
↓ 8 callers
Method
importState
(document: DictionaryTransferDocument, mode: DictionaryTransferImportMode, currentReplacements: [SettingsStore
Sources/Fluid/Services/DictionaryTransferService.swift:288
↓ 8 callers
Method
isReasoningModel
Global check if a model is a reasoning model (requires special params/max_completion_tokens)
Sources/Fluid/Persistence/SettingsStore.swift:2991
↓ 8 callers
Method
makeDictationLiteralOutputPlan
(for text: String, appName: String?, bundleID: String?, windowTitle: String?)
Sources/Fluid/Services/ASRService+DictationLiteralFormatting.swift:56
↓ 8 callers
Method
providerKey
(for providerID: String)
Sources/Fluid/ContentView.swift:1569
↓ 8 callers
Method
read
(deviceID: AudioObjectID)
Sources/Fluid/Services/DirectCoreAudioInput.swift:73
↓ 8 callers
Method
reset
Reset the service state
Sources/Fluid/Services/MeetingTranscriptionService.swift:498
↓ 8 callers
Method
retireAudioEngineAndWait
Route recovery and engine retry paths use this completion barrier so the old AVAudioEngine and its AVAudioIOUnit are fully deallocated before a replac
Sources/Fluid/Services/ASRService.swift:810
↓ 8 callers
Method
saveEntries
()
Sources/Fluid/Persistence/TranscriptionHistoryStore.swift:375
↓ 8 callers
Method
saveProviderAPIKeys
(invalidating providerID: String?)
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:451
↓ 8 callers
Method
screenForCurrentPointer
()
Sources/Fluid/Services/OverlayScreenResolver.swift:9
↓ 8 callers
Method
setRecordingEnabled
(_ enabled: Bool, sessionID: Int, attemptID: UInt64, startHostTime: UInt64)
Sources/Fluid/Services/ASRService.swift:4854
↓ 8 callers
Method
waitForScheduledReleases
Waits for every release already submitted to this drain. This is used at capture start so a fire-and-forget retirement from a non-route path cannot ov
Sources/Fluid/Services/AudioEngineRetirementDrain.swift:61
↓ 8 callers
Method
waitUntilOpen
Await until the gate is open. Returns immediately if already open.
Sources/Fluid/Services/AudioStartupGate.swift:36
↓ 7 callers
Method
applyCustomDictionary
Applies custom dictionary replacements to transcribed text. Replaces trigger words/phrases with their designated replacements. Uses case-insensitive m
Sources/Fluid/Services/ASRService.swift:4635
↓ 7 callers
Method
defaultSystemPromptText
(for mode: PromptMode)
Sources/Fluid/Persistence/SettingsStore.swift:1094
↓ 7 callers
Method
elapsedMilliseconds
(since start: TimeInterval?)
Sources/Fluid/Services/ASRService.swift:467
↓ 7 callers
Method
error
(status: OSStatus, operation: String)
Sources/Fluid/Services/DirectCoreAudioInput.swift:559
↓ 7 callers
Method
finishAccessibilityPermissionFlow
()
Sources/Fluid/ContentView.swift:4143
↓ 7 callers
Method
fluidCompactButton
(size: FluidButtonSize, isReady: Bool, foreground: Color?, borderColor: Color?)
Sources/Fluid/Theme/NativeButtonStyles.swift:88
↓ 7 callers
Method
hideExpandedCommandOutput
Hide expanded command output notch - force close regardless of hover state
Sources/Fluid/Services/NotchOverlayManager.swift:620
↓ 7 callers
Method
invalidateDictionaryCache
Invalidates the dictionary cache. Called when settings change.
Sources/Fluid/Services/ASRService.swift:4627
↓ 7 callers
Method
isProviderConfigured
Returns true if the selected AI provider is currently verified/configured, regardless of the AI toggle or prompt selection. Used to gate prompt-mode h
Sources/Fluid/Services/DictationAIPostProcessingGate.swift:44
↓ 7 callers
Method
isTemperatureUnsupported
Whether the model rejects the `temperature` parameter. Covers reasoning models plus Anthropic models that have deprecated temperature (Opus 4.7+, Sonn
Sources/Fluid/Persistence/SettingsStore.swift:3012
↓ 7 callers
Method
listInputDevices
()
Sources/Fluid/Services/MicrophonePreferenceCoordinator.swift:7
next →
1–100 of 2,803, ranked by callers