From: digger v. <dv_...@ve...> - 2007-02-19 00:21:58
|
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. |