Documentation
¶
Overview ¶
Package config provides configuration constants and utilities for omnivoice-core.
Index ¶
Constants ¶
View Source
const ( // PlexusOneDir is the base directory for PlexusOne data. PlexusOneDir = ".plexusone" // OmniVoiceDir is the subdirectory for OmniVoice data. OmniVoiceDir = "omnivoice" // VoicesDir is the subdirectory for voice profiles. VoicesDir = "voices" )
Variables ¶
This section is empty.
Functions ¶
func DefaultDataDir ¶
func DefaultDataDir() string
DefaultDataDir returns the default OmniVoice data directory. Returns ~/.plexusone/omnivoice
func DefaultVoicesDir ¶
func DefaultVoicesDir() string
DefaultVoicesDir returns the default voice profiles directory. Returns ~/.plexusone/omnivoice/voices
func EnsureVoiceProfileDir ¶
EnsureVoiceProfileDir creates a voice profile directory if it doesn't exist.
func EnsureVoicesDir ¶
func EnsureVoicesDir() error
EnsureVoicesDir creates the voices directory if it doesn't exist.
func GetVoicesDir ¶
func GetVoicesDir() string
VoicesDir returns the voice profiles directory. Uses OMNIVOICE_VOICES_DIR environment variable if set, otherwise returns the default path.
func VoiceProfileDir ¶
VoiceProfileDir returns the directory for a specific voice profile.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.