CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 54

Threaded View

  1. #1
    Join Date
    Oct 2009
    Posts
    34

    Resolved [RESOLVED] Streaming Audio from one PC to another over a Local Network

    Hello, I did search before I posted this and could not find a solution to my problem.

    I want to stream Audio one way from one PC to another.

    [PC-1]------>------[Router]------>------[PC-2]

    This code I have included is a modified version of MS Voice Chat from the Visual Basic 6 CD.

    The project contains WaveStream.dll as the WaveStream.cls ClassModule.

    So the application does not require the actual DLL what so ever, and it's easier to make mods to the code.
    But I have included the original Microsoft source code for the DLL.

    These are the only formats I can get to work...
    8000Hz. 8bit, Mono
    11025Hz. 8bit, Mono
    22050Hz. 8bit, Mono
    8000Hz. 8bit, Stereo
    11025Hz. 8bit, Stereo
    8000Hz. 16bit, Mono

    8000Hz. 16bit, Stereo << Works for a few seconds then... Run-time error - Type mismatch at ...
    Call .SaveStreamBuffer(Index, ExData(Index)) in the WaveStream.cls ClassModule

    I have tried everything to get better quality but with no luck.

    I am trying for 44100Hz, 16bit, Stereo which should Stream through the Router at about 200kbs.

    Delay in the system is not a problem, as long it is constant.

    Any help would be abosolutly fantastic, thanks in advance for even looking.
    Attached Files Attached Files
    Last edited by BriansBrain; October 14th, 2009 at 01:51 PM. Reason: WizBang found the solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured