Re: [Live-devel] WindowsAudioInputDevice_noMixer.hh and unicode

2011-11-21 Thread Chris Richardson (WTI)
I also build cross-platform from one repo and understand the issues. However it is my understanding that the code you are modifying is calling mixerGetDevCaps, which is a Win32 function. Also, as Ross has already said, this code is all Windows only. Chris Richardson WTI From: live-devel-b

Re: [Live-devel] WindowsAudioInputDevice_noMixer.hh and unicode

2011-11-21 Thread Jeff Shanab
I am building cross platform from one src repo. TCHAR to be avoided at all cost. :) From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Chris Richardson (WTI) Sent: Monday, November 21, 2011 4:48 PM To: 'LIVE555 Streaming Media - development & use' Sub

Re: [Live-devel] WindowsAudioInputDevice_noMixer.hh and unicode

2011-11-21 Thread Ross Finlayson
> 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. Well, nothing in the "WindowsAudioInputDevice" directory has changed in years. You should not be building (or including) this stuff at all, if you do

Re: [Live-devel] WindowsAudioInputDevice_noMixer.hh and unicode

2011-11-21 Thread Chris Richardson (WTI)
Hi Jeff, On Windows, when you want to build both Unicode and non-Unicode, the easiest way is to use the Microsoft-specific TCHAR functions. If you look up a particular function on MSDN you can find the TCHAR routine name. In this case it will be _tcsncpy. http://msdn.microsoft.com/en-us/l

Re: [Live-devel] WindowsAudioInputDevice_noMixer.hh and unicode

2011-11-21 Thread Jeff Shanab
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 if

Re: [Live-devel] WindowsAudioInputDevice_noMixer.hh and unicode

2011-11-21 Thread Ross Finlayson
> 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

[Live-devel] WindowsAudioInputDevice_noMixer.hh and unicode

2011-11-21 Thread Jeff Shanab
I updated to the newest version of live555 and the WindowsAudioInput folder was added. 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\comm

Re: [Live-devel] Live555 in a Browser Plugin

2011-11-21 Thread Jeff Shanab
We are gonna need some more information. But having said that I have live555 in browser plugin (firebreath) I will say this. Use firefox, turn off moz crash reporter and find the setting to get it to run in one process. Then if you are in windows you can attach with Visual studio to firefox and