Audio streaming components and libraries Forum Index Audio streaming components and libraries
Support forums for all Lake of Soft products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VCX c# sound problems

 
Post new topic   Reply to topic    Audio streaming components and libraries Forum Index -> VCX library
View previous topic :: View next topic  
Author Message
phyx3r



Joined: 25 Jan 2010
Posts: 2

PostPosted: Mon Jan 25, 2010 18:23    Post subject: VCX c# sound problems Reply with quote

Hi, i'm using the VCX enterprise library to make a custom voip client/server architecture. I've a problem with the sound playing on the client machine. The sound is very scratchy on the client and is perfect on the server. I'm using the ipserver/ipclient components as seen in the demos projects. I've made a test with the waveriff player too and the sound is ever scratchy.

My client application was tested on two different developing machines and the results are the same.

What can be wrong? Is there a way to chose the driver to use (eg. Asio, DirectX...) or does it directly use the audio device?

Thanks!
Back to top
View user's profile Send private message AIM Address
Aleksandr



Joined: 06 Apr 2005
Posts: 404
Location: Kharkiv, UA

PostPosted: Wed Feb 03, 2010 12:42    Post subject: Reply with quote

Try changing the codec you setup on server machine. Codec is specified by FormatTag property, try 49 for GSM (it support only mono) or 2 for ADPCM.

Our libraries use only ACM and MME interfaces, so drivers should not matter.
_________________
Happy coding.


Last edited by Aleksandr on Wed Feb 03, 2010 15:29; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
phyx3r



Joined: 25 Jan 2010
Posts: 2

PostPosted: Wed Feb 03, 2010 14:13    Post subject: Reply with quote

I don't think that it's a codec problem because I've tried to play a wave file with the waveriff component and the problem persists: the sound is scratchy. I've tried the same app on two different machines and the problem persists (so it's not an hardware problem also because windows sounds are correctly played).

Do you know about any compatibility issues with any other (.net or third party) components that I might use in my software?

I'll try to change the codec but, in the meantime, do you have any other suggestions?

Thank You very much for the help.
Back to top
View user's profile Send private message AIM Address
Aleksandr



Joined: 06 Apr 2005
Posts: 404
Location: Kharkiv, UA

PostPosted: Wed Feb 03, 2010 15:32    Post subject: Re: VCX c# sound problems Reply with quote

phyx3r wrote:
The sound is very scratchy on the client and is perfect on the server.


Can you please try swapping client and server? Just to verify is it something wrong with server codec or with client WaveOut.
_________________
Happy coding.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Matti



Joined: 03 Jul 2011
Posts: 1

PostPosted: Sun Jul 03, 2011 13:50    Post subject: Reply with quote

Hello.
We are currently evaluating your product and having a similar problem.
The sound is scrachy when we're building our own project but works fine on your examples. Help is needed, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Audio streaming components and libraries Forum Index -> VCX library All times are GMT
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group
© 2000-2010 Lake of Soft