-
Notifications
You must be signed in to change notification settings - Fork 74
/
audio_player.go
55 lines (45 loc) · 1.4 KB
/
audio_player.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/CyCoreSystems/ari/ext/audio (interfaces: Player)
package mock
import (
ari "github.com/CyCoreSystems/ari"
gomock "github.com/golang/mock/gomock"
)
// Mock of Player interface
type MockPlayer struct {
ctrl *gomock.Controller
recorder *_MockPlayerRecorder
}
// Recorder for MockPlayer (not exported)
type _MockPlayerRecorder struct {
mock *MockPlayer
}
func NewMockPlayer(ctrl *gomock.Controller) *MockPlayer {
mock := &MockPlayer{ctrl: ctrl}
mock.recorder = &_MockPlayerRecorder{mock}
return mock
}
func (_m *MockPlayer) EXPECT() *_MockPlayerRecorder {
return _m.recorder
}
func (_m *MockPlayer) Play(_param0 string, _param1 string) (*ari.PlaybackHandle, error) {
ret := _m.ctrl.Call(_m, "Play", _param0, _param1)
ret0, _ := ret[0].(*ari.PlaybackHandle)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (_mr *_MockPlayerRecorder) Play(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Play", arg0, arg1)
}
func (_m *MockPlayer) Subscribe(_param0 ...string) ari.Subscription {
_s := []interface{}{}
for _, _x := range _param0 {
_s = append(_s, _x)
}
ret := _m.ctrl.Call(_m, "Subscribe", _s...)
ret0, _ := ret[0].(ari.Subscription)
return ret0
}
func (_mr *_MockPlayerRecorder) Subscribe(arg0 ...interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "Subscribe", arg0...)
}