Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioIO ¶
type AudioIO struct {
// contains filtered or unexported fields
}
AudioIO manages bidirectional audio interfacing with the host OS's microphone and speakers.
func NewAudioIO ¶
func NewAudioIO() *AudioIO
func (*AudioIO) MicFrames ¶
func (a *AudioIO) MicFrames() <-chan *model.AudioFrame
func (*AudioIO) PushFrame ¶
func (a *AudioIO) PushFrame(frame *model.AudioFrame)
PushFrame takes audio from the Agent and queues it for the speakers
type ConsoleModel ¶
type ConsoleModel struct {
// contains filtered or unexported fields
}
ConsoleModel drives the interactive terminal UI
func NewConsoleModel ¶
func NewConsoleModel(ctx context.Context, audioIO *AudioIO) *ConsoleModel
func (*ConsoleModel) Init ¶
func (m *ConsoleModel) Init() tea.Cmd
func (*ConsoleModel) View ¶
func (m *ConsoleModel) View() string
Click to show internal directories.
Click to hide internal directories.