Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

voice capture with DirectSound or API

alipouralipour Posts: 10Member
i want to send voice over network in C# or VB.net.
but in .Net framework there is no facility for
handeling Sound Card except DirectX.DirectSound .
i'v been use it but there is a problem.
in DirectX when you change the control from the form
of your program the sound process will be stop.
this is becouse that i must use the

public void SetCooperativeLevel(
Control owner,
CooperativeLevel level
);
function.
I try API in .net but it has itself problems.
do you know any way that save me from this hell.
i want to capture the sound send it on the network and
then play it at the otherside.

Comments

  • BenGreenBenGreen Posts: 7Member
    I have some code I am working on to do the same thing with an MPEG encoder. I wrote my code in pure C but if you like I can email it.

    Drop me a line bengreen5@yahoo.com, anyone else reading this is also welcome, I should warn you my code is currently incomplete but should be good to learn from.

    Ben.

    : i want to send voice over network in C# or VB.net.
    : but in .Net framework there is no facility for
    : handeling Sound Card except DirectX.DirectSound .
    : i'v been use it but there is a problem.
    : in DirectX when you change the control from the form
    : of your program the sound process will be stop.
    : this is becouse that i must use the
    :
    : public void SetCooperativeLevel(
    : Control owner,
    : CooperativeLevel level
    : );
    : function.
    : I try API in .net but it has itself problems.
    : do you know any way that save me from this hell.
    : i want to capture the sound send it on the network and
    : then play it at the otherside.
    :

Sign In or Register to comment.