From: Jeff W. <we...@ha...> - 2007-02-19 00:43:41
|
Excellent sleuthing digger! I don't think the endian issues will be a problem in the declicking/denoising, because gwc requests floating point values from libsndfile for the audio data. Libsndfile is handling all the conversion and endian-ness. Let's get some info from another powerpc/linux user before going forward with a patch -- presumably we can detect that with the configure script. Until then, have fun with gwc :-) Good work! Jeff digger vermont wrote: > Hi Jeff, > > Thanks for your reply > > If I did not mention it before, my programing and programing skills are > at an early grade school level. > > Having said that, I have gotten gwc to playback correctly! In > audio_util.c I changed > > format_set = GWC_S16_LE to format_set = GWC_S16_BE at line 108. > > I know its not a good solution, if a solution at all, but it does show > that the audio playback problem is endian in nature. Is there away that > BE can be defined if its a powerpc? I'd be glad give any patches a try. > > Another question then would be, will the endian issue also cause > problems in any of the noise, click, etc, processing? > > Thanks > > digger > > At this point any of my other responses below are probably moot. > > On Sat, 2007-02-17 at 21:55 -0800, Jeff Welty wrote: > >> Hi Digger, >> >> Libsndfile says it has been tested for linux/powerpc's. So >> my next guess might be the implemenation of ALSA on the powerpc, >> and perhaps GWC isn't delivering audio data correctly to the ALSA >> device on the powerpc. >> >> I don't have a powerpc, so I can only look for clues with google. Anyone >> else out there have a powerpc and linux? >> >> Cheers, >> Jeff >> >> > > My original thought was the configuration of libsndfile regarding > big-endian. But ya know, looking and checking further, my pointing at > libsndfile does seem wrong. > > I started over trying to troubleshoot. First just to make sure. The > file utility reports that the sound file I'm testing with is > > RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo > 44100 Hz > > I believe that should work. > > I did a make clean compiled gwc with and without alsa support. I also > tried using gwc (without alsa) along with aoss and padsp (pulseaudio). > All have the same results of the static/noise on playback. > > Looking for things to try I did File>Save-As the test file. It does > playback correctly from the commandline using aplay. > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gwc-general mailing list > Gwc...@li... > https://lists.sourceforge.net/lists/listinfo/gwc-general > > |