aboutsummaryrefslogtreecommitdiff
path: root/packets/messages/types/SvcSounds.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2022-11-11 23:19:01 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-16 21:39:42 +0300
commit892fb8f547ce4a31901fb029a762331b1188efb7 (patch)
tree51d38af2364d7139fc93f8637e40c77930407532 /packets/messages/types/SvcSounds.go
parentupgrade bitreader to v1.2.5 (diff)
downloadsdp.go-892fb8f547ce4a31901fb029a762331b1188efb7.tar.gz
sdp.go-892fb8f547ce4a31901fb029a762331b1188efb7.tar.bz2
sdp.go-892fb8f547ce4a31901fb029a762331b1188efb7.zip
net/svc messages finally getting parsed correctly
Diffstat (limited to 'packets/messages/types/SvcSounds.go')
-rw-r--r--packets/messages/types/SvcSounds.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/packets/messages/types/SvcSounds.go b/packets/messages/types/SvcSounds.go
index 4d858bf..2dc7974 100644
--- a/packets/messages/types/SvcSounds.go
+++ b/packets/messages/types/SvcSounds.go
@@ -22,11 +22,9 @@ func ParseSvcSounds(reader *bitreader.ReaderType) SvcSounds {
22 } else { 22 } else {
23 length = int16(reader.TryReadInt16()) 23 length = int16(reader.TryReadInt16())
24 } 24 }
25 reader.SkipBits(int(length)) // TODO: Read data properly
26 //data := reader.TryReadBytesToSlice(int(length / 8))
27 return SvcSounds{ 25 return SvcSounds{
28 ReliableSound: reliablesound, 26 ReliableSound: reliablesound,
29 Size: size, 27 Size: size,
30 //Data: data, 28 Data: reader.TryReadBitsToSlice(int(length)),
31 } 29 }
32} 30}