2019-05-08 10:51:21 +03:00
|
|
|
package revid
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestAudioInput(t *testing.T) {
|
|
|
|
|
2019-05-08 11:37:33 +03:00
|
|
|
// var logger testLogger
|
|
|
|
// ns, err := netsender.New(&logger, nil, nil, nil)
|
|
|
|
// if err != nil {
|
|
|
|
// t.Errorf("netsender.New failed with error %v", err)
|
|
|
|
// }
|
|
|
|
|
|
|
|
// var c Config
|
|
|
|
// c.Logger = &logger
|
|
|
|
// c.Input = Audio
|
|
|
|
// c.Outputs = make([]uint8, 1)
|
|
|
|
|
|
|
|
// rv, err := New(c, ns)
|
|
|
|
// if err != nil {
|
|
|
|
// t.Errorf("revid.New failed with error %v", err)
|
|
|
|
// }
|
|
|
|
|
|
|
|
// err = rv.Start()
|
|
|
|
// if err != nil {
|
|
|
|
// t.Errorf("revid.Start failed with error %v", err)
|
|
|
|
// }
|
2019-05-08 10:51:21 +03:00
|
|
|
}
|