DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WaveAudio v1.84 and Borland C++ Builder 6

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
lapoguidi
Member
Member


Joined: 06 Sep 2007
Posts: 3

PostPosted: 06/09/07 20:22    Post subject: WaveAudio v1.84 and Borland C++ Builder 6 Reply with quote

Hi,
I installed WaveAudio package under Borland C++ Builder 6 and it seems to work fine.
I tried to translate the LiveAudio (Broadcaster and Listener) projects in C++:
1. The server listen for connections and starts to aquire audio from mic;
2. The client receive data from server, but I hear nothing from the speakers.
The only problem I found is that GetWaveAudioFormat and SetPCMAudioFormatS form Winutils can't be resolved, but I forced the WaveFormat to the classical Mono16bit8000Hz format.

I can i do it works?
Have you already got this kind of problems under BCB 6?
Would you check my translatred code? I attached it.

Thanks.

Lapo from Italy



LiveAudioServer.zip
 Description:

Download
 Filename:  LiveAudioServer.zip
 Filesize:  3.52 KB
 Downloaded:  10 Time(s)


LiveAudioClient.zip
 Description:

Download
 Filename:  LiveAudioClient.zip
 Filesize:  3.78 KB
 Downloaded:  21 Time(s)

Back to top
View user's profile Send private message
Kambiz
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 1347
Location: Tehran, Iran

PostPosted: 12/09/07 10:30    Post subject: Reply with quote

Could you resolve the problem? I suspect on translation of TAudioBuffer.
_________________
Kambiz

Back to top
View user's profile Send private message Send e-mail Visit poster's website
newbie_bcb
Member
Member


Joined: 23 Sep 2007
Posts: 2

PostPosted: 23/09/07 13:49    Post subject: Reply with quote

Hi,
if possible I need a little help to install waveaudio in c++ builder 6.

Thanks
Andrea
Back to top
View user's profile Send private message
lapoguidi
Member
Member


Joined: 06 Sep 2007
Posts: 3

PostPosted: 23/09/07 15:29    Post subject: Reply with quote

Hi Kambiz,
I was not able to solve the problem.
If I compile the stream sample delphi code in a bcb project it works almost fine, not fully, but if I translate it in BCB it doesn't work (you can see code attached on the first message of this thread)
Anyway, I wrote some code to do more or less the same, not so complete like your code, but enough for me Smile

Anyway thanks for sharing your code.

Well, Have you planning to make it BCB compatible?

Have a nice time.
Lapo
Back to top
View user's profile Send private message
Kambiz
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 1347
Location: Tehran, Iran

PostPosted: 24/09/07 04:12    Post subject: Reply with quote

I am glad to hear you could find a solution.

I don't have BCB, therefore I cannot develop BCB compatible code. Sad
_________________
Kambiz

Back to top
View user's profile Send private message Send e-mail Visit poster's website
newbie_bcb
Member
Member


Joined: 23 Sep 2007
Posts: 2

PostPosted: 26/09/07 20:26    Post subject: Reply with quote

Thank you for your work!
I resolved thanks to Lapo's help,in pm.

Thank you for your reply.
Thanks you Lapo.

Andrea
Back to top
View user's profile Send private message
Kambiz
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 1347
Location: Tehran, Iran

PostPosted: 26/09/07 22:03    Post subject: Reply with quote

Is there any part package incompatible with BCB?

If you please tell me what makes the code incompatible, I'll fix it in the next release to prevent headache for other BC users.
_________________
Kambiz

Back to top
View user's profile Send private message Send e-mail Visit poster's website
lapoguidi
Member
Member


Joined: 06 Sep 2007
Posts: 3

PostPosted: 27/09/07 15:32    Post subject: Reply with quote

I haven't the solution for BCB users, I helped newbie_bcb to install the package under BCB 6 adding designintf.pas to the package project and the reg file.
I still have the problem when I try to use some components. It compiles fine, it links fine but at runtime I have some unpredictable results.
In some cases the played WAV jitter, in other cases an Access Violation error appears...
I think some problems are caused from the memory usage.
Delphi and BCB language have some (little?) incompatibilities, maybe tehre're one or more inside, I really don't know, I'm sorry.
Anyway if I will find something I think usefull, I'll write to you.

Thanks again for your good work.

Lapo
Back to top
View user's profile Send private message
Kambiz
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 1347
Location: Tehran, Iran

PostPosted: 27/09/07 23:36    Post subject: Reply with quote

Thank you Lapo.

One of problems could be because of function parameters defined with out modifier. Please replace all instance of out with var and rebuild the package.

I hope this helps to use the package inside BCB.
_________________
Kambiz

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT - 12 Hours
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group