Thanks for your testing, Daniel! I think the only good solution would be to rebuild liquidsoap for windows with portaudio support. I'll see if I can do that soon.
Romain 2012/10/31 Daniel Cantarin <[email protected]>: > Romain, > > I was testing the cases mentioned before, in Windows 7, but stopped after > founding this: it seems there's no valid input method for microphone in > Windows! :s > > So, i tested XP too, and the problem was also there: no mic, and no errors. > I was wrong when i said it was working on XP. > > In the LS API Doc page (http://liquidsoap.fm/doc-1.0.1/reference.html), i > can read this for the "in()" function: > > Create a source from the first available input driver in pulseaudio, > portaudio, oss, alsa, blank. > > So, i tested every input method in that order: pulseaudio, portaudio, oss, > and alsa. The last ones obviously aren't available in Windows. But > input.pulseaudio and input.portaudio also returned a "not defined" error. > Given that i get no error, AND no sound, when i use "in()" in Windows, i > guess it's because it's falling back to "input.blank". That would explain > the symptoms. > > > But then i found strange that, even when i got no input for mic (LS works > fine with playlists and input.http), i got output (as i was using > "output.prefered"). So i tested wich outputs i got available. > Output.portaudio is not there: it returns "not defined". What i DO have in > Windows for output is output.ao. > > That said, everything points that my problem is that LS does not include, in > its Windows release, any library for mic input. :( > > Would you please check this out Romain? I mean, if portaudio or any other > audio input library for mic is present in the build. > You think is there an easy fix, like putting a portaudio DLL on LS > directory, or something like that? > > Unfortunately, most of the users in my project are Windows people; and this > is for live radio over internet, so they need the mic. =/ > Please let me know if there's anything i can do to make it work. > > Thanks, > Daniel. > > ________________________________ > From: Romain Beauxis <[email protected]> > To: Daniel Cantarin <[email protected]> > Cc: savonet liquidsoap <[email protected]> > Sent: Tuesday, October 30, 2012 11:49 AM > > Subject: Re: [Savonet-users] Windows 7 and mic > > That should already be a lot. Feel free to play around with whichever > options you can tweak as well! > > Thanks! > Romain > > 2012/10/30 Daniel Cantarin <[email protected]>: >> I'll be very glad to help. >> However, i can't test on Win7 until tonight or even tomorrow, so it will >> take a day or two. >> >> The test will be: same script, but replacing "in()" with every input.* >> operator, and setting log level to 4. >> Will test it in XP and in Win7 (i don't have access to Vista), both on >> Virtual Machines (Virtualbox), to comparing what's going on. Then, i'll >> post >> the logs here. >> Let me know if there's any other relevant configuration for this initial >> tests. >> >> >> ________________________________ >> From: Romain Beauxis <[email protected]> >> To: Daniel Cantarin <[email protected]> >> Cc: savonet liquidsoap <[email protected]> >> Sent: Tuesday, October 30, 2012 12:51 AM >> >> Subject: Re: [Savonet-users] Windows 7 and mic >> >> Hi Daniel! >> >> You are right to wonder. It would actually be more interesting >> probably to figure out what is not working with windows 7 and then >> focus on it instead of shooting in the dark pointing out a "usual >> suspect".. >> >> Would you be able to test all the individuals input operators? I think >> that in your case they should only be input.pulseaudio and >> input.portaudio. It would be nice to also try to get verbose logs -- >> set("log.level",4) -- to see if we can get more information about the >> problem. >> >> Thanks! >> Romain >> >> 2012/10/29 Daniel Cantarin <[email protected]>: >>> Thanks for the job Romain. :) >>> >>> However, i wonder if there's not any other way to test this... >>> recompiling >>> LS for Windows is a surely a PITA, and we don't know if that's gonna >>> solve >>> my problem... >>> >>> Why don't you just check the PortAudio DLL version included in the LS >>> binary >>> and post that info here? >>> I mean, it's a lot less work to do. Reading about this issue, i guess >>> post-2008 v19 PortAudio versions do support WASAPI (again: i guess), so >>> they >>> should work on Win7. If it's the case, if the DLL you're using is that >>> old, >>> then a new DLL is a good way to go. If it's not, i think we (the users) >>> should test this better before giving you this load of work... >>> >>> A note: when i say WASAPI, i bring that because is the only new thing >>> regarding audio in Windows 7 (and Vista), and confirmed that PortAudio >>> had >>> trouble implementing it. >>> However, Directsound, the audio system PortAudio should be using in Win >>> XP >>> (and, remember, my script works fine in XP), uses WASAPI internally in >>> Windows 7. So... it should be working anyway... >>> >>> Whatever, can't test right now. Will test script variants later, as >>> suggested by Samuel. Maybe some other input.* do work on windows. I'll >>> let >>> you know if i find anything about this Windows 7 thing; i really need to >>> make LS work on W7. Please let me know if i can help testing something. >>> >>> Daniel. >>> >>> >>> ________________________________ >>> From: Romain Beauxis <[email protected]> >>> To: Daniel Cantarin <[email protected]> >>> Cc: savonet liquidsoap <[email protected]> >>> Sent: Monday, October 29, 2012 4:21 PM >>> >>> Subject: Re: [Savonet-users] Windows 7 and mic >>> >>> Hi again! >>> >>> 2012/10/29 Daniel Cantarin <[email protected]>: >>>> Checking on your feedback, i've found that PortAudio v19 had once builds >>>> without WASAPI, so getting an up to date DLL is an important thing to >>>> check >>>> out. >>>> >>>> Later, at home, i'll try this on a virtual machine: >>>> http://portaudio.com/docs/v19-doxydocs/compile_windows.html >>>> >>>> However, i have a question. I've checked the LiquidSoap binary package >>>> for >>>> Windows (the .zip file), and i don't see any PortAudio dll included. >>>> How should i implement my new DLL? Do i have to drop it in the >>>> liquidsoap >>>> folder, Windows folder, or any other? Maybe registering it with >>>> regsvr32? >>> >>> Ha. If there's no portaudio DLL then it means that it wasn't compiled >>> with it dynamic loading support but was builtin the liquidsoap.exe >>> binary instead.. >>> >>> I will try to prepare a new build of liquidsoap. However, this a long >>> and tedious process so I cannot give any expected time for that. Feel >>> free to ping me again later if it hasn't been done yet :-) >>> >>> Romain >>> >>> >> >> > > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
