Changeset 6d35183 in ammosreader
- Timestamp:
- 05/09/22 06:41:02 (3 years ago)
- Branches:
- AmmosSource, guix
- Children:
- 27e3114
- Parents:
- b67e7e5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ammosreader/AmmosAudioSocketReader.py
rb67e7e5 r6d35183 115 115 # byte_array_header.append(self.__socket.recv(44 - len(b''.join(byte_array_header)))) 116 116 117 ammos_extended_audio_data_header = AmmosExtendedAudioDataHeader.from_bytes(b ''.join(byte_array_header))117 ammos_extended_audio_data_header = AmmosExtendedAudioDataHeader.from_bytes(byte_array_header) 118 118 if self.DEBUG_MODE: 119 119 print(ammos_extended_audio_data_header.sample_count, ammos_extended_audio_data_header.channel_count, ammos_extended_audio_data_header.sample_size) … … 133 133 # byte_array_header.append(self.__socket.recv(36 - len(b''.join(byte_array_header)))) 134 134 135 ammos_audio_data_header = AmmosAudioDataHeader.from_bytes(b ''.join(byte_array_header))135 ammos_audio_data_header = AmmosAudioDataHeader.from_bytes(byte_array_header) 136 136 if self.DEBUG_MODE: 137 137 print(ammos_audio_data_header.sample_count, ammos_audio_data_header.channel_count, ammos_audio_data_header.sample_size)
Note:
See TracChangeset
for help on using the changeset viewer.