2016-08-02 Fred Gleason <fredg@paravelsystems.com>

* Added 'Start' fields to wav_chunk_test(1).
This commit is contained in:
Fred Gleason
2016-08-02 16:17:07 -04:00
parent dac2f489c7
commit 46d5ef5152
2 changed files with 6 additions and 1 deletions

View File

@@ -15441,3 +15441,8 @@
a new database.
2016-08-02 Fred Gleason <fredg@paravelsystems.com>
* Added wav_chunk_test(1) in 'tests/wav_chunk_test/'.
2016-08-02 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdwavefile.cpp' that caused an incorrect
payload size to be written for WAV files.
2016-08-02 Fred Gleason <fredg@paravelsystems.com>
* Added 'Start' fields to wav_chunk_test(1).

View File

@@ -125,7 +125,7 @@ MainObject::MainObject(QObject *parent)
QString name;
uint32_t start_pos;
while((start_pos=NextChunk(name,&chunk_length))>0) {
printf("Chunk: %s Start: %u Length: %u\n",(const char *)name,start_pos,chunk_length);
printf("Chunk: %s Start: %u [0x%X] Length: %u [0x%X]\n",(const char *)name,start_pos,start_pos,chunk_length+8,chunk_length+8);
lseek(file_fd,chunk_length,SEEK_CUR);
}