Notification sound added. Docs updated.
This commit is contained in:
1 parent
4c9a267897
commit
81cc630319
29 files changed
+845
-57
No files matched your search
@@ -45,13 +45,14 @@ import (
|
||||
// disabledVoice allows sound-only operation without opening a speech driver.
|
||||
type disabledVoice struct{}
|
||||
|
||||
func (disabledVoice) Say(string) {}
|
||||
func (disabledVoice) Say_with_pitch(string, int) {}
|
||||
func (disabledVoice) Configure(speech.Parameters) {}
|
||||
func (disabledVoice) Interrupt() {}
|
||||
func (disabledVoice) Toggle_mute() bool { return true }
|
||||
func (disabledVoice) Errors() <-chan error { return nil }
|
||||
func (disabledVoice) Close() {}
|
||||
func (disabledVoice) Say(string) {}
|
||||
func (disabledVoice) Say_after(string, func(context.Context)) {}
|
||||
func (disabledVoice) Say_with_pitch(string, int) {}
|
||||
func (disabledVoice) Configure(speech.Parameters) {}
|
||||
func (disabledVoice) Interrupt() {}
|
||||
func (disabledVoice) Toggle_mute() bool { return true }
|
||||
func (disabledVoice) Errors() <-chan error { return nil }
|
||||
func (disabledVoice) Close() {}
|
||||
|
||||
func Start(ctx context.Context, settings config.Settings, configPath string, bindings input.Layout) error {
|
||||
return Start_with_ready(ctx, settings, configPath, bindings, nil)
|
||||
|
||||
Reference in new issue
Block a user