Explorar o código

Add comment to Packet type

Bruce Marriner %!s(int64=9) %!d(string=hai) anos
pai
achega
8023a80e0b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      voice.go

+ 1 - 0
voice.go

@@ -462,6 +462,7 @@ func (v *Voice) opusSender(opus <-chan []byte, rate, size int) {
 	}
 }
 
+// A Packet contains the headers and content of a received voice packet.
 type Packet struct {
 	SSRC      uint32
 	Sequence  uint16