audio

package
v0.0.0-...-6465c35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAudioPacket = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAudioPacket   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type AudioPacket

type AudioPacket struct {
	Timestamp            int64    `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Qn                   uint32   `protobuf:"varint,2,opt,name=qn,proto3" json:"qn,omitempty"`
	TopicID              uint32   `protobuf:"varint,3,opt,name=topicID,proto3" json:"topicID,omitempty"`
	UserID               uint32   `protobuf:"varint,4,opt,name=userID,proto3" json:"userID,omitempty"`
	AudioData            []byte   `protobuf:"bytes,5,opt,name=audioData,proto3" json:"audioData,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AudioPacket) Descriptor

func (*AudioPacket) Descriptor() ([]byte, []int)

func (*AudioPacket) GetAudioData

func (m *AudioPacket) GetAudioData() []byte

func (*AudioPacket) GetQn

func (m *AudioPacket) GetQn() uint32

func (*AudioPacket) GetTimestamp

func (m *AudioPacket) GetTimestamp() int64

func (*AudioPacket) GetTopicID

func (m *AudioPacket) GetTopicID() uint32

func (*AudioPacket) GetUserID

func (m *AudioPacket) GetUserID() uint32

func (*AudioPacket) Marshal

func (m *AudioPacket) Marshal() (dAtA []byte, err error)

func (*AudioPacket) MarshalTo

func (m *AudioPacket) MarshalTo(dAtA []byte) (int, error)

func (*AudioPacket) ProtoMessage

func (*AudioPacket) ProtoMessage()

func (*AudioPacket) Reset

func (m *AudioPacket) Reset()

func (*AudioPacket) Size

func (m *AudioPacket) Size() (n int)

func (*AudioPacket) String

func (m *AudioPacket) String() string

func (*AudioPacket) Unmarshal

func (m *AudioPacket) Unmarshal(dAtA []byte) error

func (*AudioPacket) XXX_DiscardUnknown

func (m *AudioPacket) XXX_DiscardUnknown()

func (*AudioPacket) XXX_Marshal

func (m *AudioPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AudioPacket) XXX_Merge

func (m *AudioPacket) XXX_Merge(src proto.Message)

func (*AudioPacket) XXX_Size

func (m *AudioPacket) XXX_Size() int

func (*AudioPacket) XXX_Unmarshal

func (m *AudioPacket) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL