1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00
Commit graph

21 commits

Author SHA1 Message Date
fbaca025b6 feature gate write support, use hash to compare game event definitions 2025-07-15 16:06:23 +02:00
1fed4d8826 wip 2025-05-03 20:31:19 +02:00
2bad24dedd fmt+clippy 2025-02-19 20:42:56 +01:00
810ca452b0 adjust tests 2021-08-01 23:05:05 +02:00
49a6649589 voice sample rate 2021-07-29 19:42:47 +02:00
93b51bff70 schemars 2021-07-25 17:26:53 +02:00
43b7270fcd wip 2021-07-25 17:04:50 +02:00
03f8b8a424 add serde support for packets 2021-07-25 15:09:36 +02:00
577a998baa entity write fixes 2021-07-20 19:27:24 +02:00
a55217cc55 game event writing 2021-07-18 15:03:26 +02:00
af669d34df voice encoding 2021-07-13 22:36:25 +02:00
9a9bcdc9df some write progress 2021-07-13 20:42:59 +02:00
a4ddd586dd borrowed data 2020-12-06 00:55:54 +01:00
Lasse Dalegaard
63b2f2e599 Rename VoiceInit extra_data to sampling_rate
When quality is 255, an extra field is included in the VoiceInit
message. This field is the sampling rate for the voice codec selected.
This commit simply renames that field from `extra_data` as it is
currently known.

Interestingly, this field is present, but doesn't match when CELT HQ is
used. If `sv_voicecodec = vaudio_celt_high` on the server, the sampling
rate is still specified as 22050 Hz(as for CELT non-HQ) rather than the
expected 44100 Hz.  The client code will instead look for `vaudio_celt`
and `vaudio_celt_high` as codec name, and use these to to index a lookup
table that specifies the correct sampling rate and frame size. For
`vaudio_celt` 22050 Hz with 512 samples per frame is used, while
`vaudio_celt_high` uses 44100 Hz with 1024 samples per frame.
2020-03-27 13:07:22 +01:00
c0117de169 adjust to bitbuffer rename 2020-02-13 00:02:43 +01:00
b7c3baee17 update to bitstream_reader 0.7 2020-01-07 23:26:37 +01:00
ff18680a02 sendprop decoding 2019-08-10 22:57:07 +02:00
128bf1ceb2 skip messages we dont care about 2019-03-17 18:44:33 +01:00
9f622385ca cleanup 2019-03-06 22:20:51 +01:00
f2650dc32f format 2019-03-02 22:33:22 +01:00
cc7f9a48cd generated code for parsing game events 2019-03-02 00:39:22 +01:00