(p []byte)
| 477 | |
| 478 | func newByteWriter(b *[]byte) *byteWriter { return &byteWriter{buf: b} } |
| 479 | func (w *byteWriter) Write(p []byte) (int, error) { |
| 480 | *w.buf = append(*w.buf, p...) |
| 481 | return len(p), nil |
| 482 | } |
| 483 | |
| 484 | func (v *VibevoiceCpp) AudioTranscription(_ context.Context, req *pb.TranscriptRequest) (pb.TranscriptResult, error) { |
| 485 | if v.asrModel == "" { |
no outgoing calls