What happened was one of the files now has an include and that cascaded to it I 
think. I had updated last march, so I wasn't that far behind.
There appears to be "standard" methods also. Here is what I did to get me by 
until someone in the know can fix it.

http://pastebin.com/bim5wnFg

I just ifdef'd   look for the string UNICODE

I did not test this on a non-unicode machine or linux box yet. Just Web 
Searching



From: live-devel-boun...@ns.live555.com 
[mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson
Sent: Monday, November 21, 2011 4:09 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] WindowsAudioInputDevice_noMixer.hh and unicode

I updated to the newest version of live555 and the WindowsAudioInput folder was 
added.

It was added in July 2003!  You've probably had it all along.  (But you don't 
have to use it if you don't want to; i.e., if you don't want to read PCM audio 
input from a Windows sound card.)


In one of my projects I cannot build because I get the error :       error 
C2664: 'strncpy' : cannot convert parameter 2 from 'WCHAR [32]' to 'const char 
*'                 
c:\Users\jshanab\archiver\src\common\RTSP\WindowsAudioInputDevice\WindowsAudioInputDevice_noMixer.cpp


Obviously UNICODE must be defined for WAVEINCAPS to be set for wide.  How do I 
get this to work with Unicode. I have seen suggestions online that I must use 
some MS specific function other than strncpy?

If you find that this is the case, then please let us know, so we can update 
the code in future releases.  (Because this code - unlike the rest of the code 
distributed with LIVE555 - is Windows-specific, it's OK to call 
Windows-specific libraries from it.)
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to