Changeset d8483f7 in ammosreader


Ignore:
Timestamp:
08/08/22 14:40:23 (3 years ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
AmmosSource, guix
Children:
7946521
Parents:
ef05d46 (diff), 5ba04b8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'guix' of http://gitlab.kid.local/kidzg/ammosreader into guix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ammosreader/AmmosAudioSocketReader.py

    ref05d46 rd8483f7  
    117117                    ammos_extended_audio_data_header = AmmosExtendedAudioDataHeader.from_bytes(byte_array_header)
    118118                    if self.DEBUG_MODE:
    119                         print(ammos_extended_audio_data_header.sample_count, ammos_extended_audio_data_header.channel_count, ammos_extended_audio_data_header.sample_size)
    120                     audio_body = self.__get_next_data(ammos_extended_audio_data_header.sample_count*
    121                                                       ammos_extended_audio_data_header.channel_count*
     119                        print(ammos_extended_audio_data_header.number_of_samples, ammos_extended_audio_data_header.number_of_channels, ammos_extended_audio_data_header.sample_size)
     120                    audio_body = self.__get_next_data(ammos_extended_audio_data_header.number_of_samples*
     121                                                      ammos_extended_audio_data_header.number_of_channels*
    122122                                                      ammos_extended_audio_data_header.sample_size)
    123123
     
    135135                    ammos_audio_data_header = AmmosAudioDataHeader.from_bytes(byte_array_header)
    136136                    if self.DEBUG_MODE:
    137                         print(ammos_audio_data_header.sample_count, ammos_audio_data_header.channel_count, ammos_audio_data_header.sample_size)
    138                     audio_body = self.__get_next_data(ammos_extended_audio_data_header.sample_count*
    139                                                       ammos_extended_audio_data_header.channel_count*
     137                        print(ammos_audio_data_header.number_of_samples, ammos_audio_data_header.number_of_channels, ammos_audio_data_header.sample_size)
     138                    audio_body = self.__get_next_data(ammos_extended_audio_data_header.number_of_samples*
     139                                                      ammos_extended_audio_data_header.number_of_channels*
    140140                                                      ammos_extended_audio_data_header.sample_size)
    141141
Note: See TracChangeset for help on using the changeset viewer.