Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2019, 11:29 AM
oxygen oxygen is offline
Junior Member
 
Join Date: May 2018
Posts: 9
Default NewAC TAudioProcessor reading/copying data

Can anyone help me? I use library NewAC from Andrei Borovski. I want to read and process wave file. The used the editor demo called AudioProcessor where i use 16-bit mono wave. I have modified this to read complete file to proc.wave buffer. When all data are copied, I want to read them, but when I check them I found there are zeros in the file somewhere about offset 8000.

Can anyone test my project? I uploaded the project here:
https://sourceforge.net/projects/uc-heb/files/test/

File name:
https://sourceforge.net/projects/uc-heb/files/test/AudioProcessor-16bit-analyzer.zip/download

Library:
https://sourceforge.net/projects/uc-...C.zip/download

Help pages:
http://files.dreamdev.org.ru/_hdd/_p...x/General.html

I cound not find contact on Andrei Borovski - he refers to http://symmetrica.net/ and the email the will not be his current email.

The code:
Code:
         move(proc.wave[si], vals[0], readBytesCount);
         if (vals[0]=0) AND
            (vals[1]=0) AND
            (vals[2]=0) AND
            (vals[3]=0) then
          begin
          if ( proc.wave[si]=0 ) AND
             ( proc.wave[si+2]=0 ) then
             showmessage('Error');
          end;
Prints error because vals contains zeros.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 07:04 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.