[Freeswitch-dev] Portaudio upgrade
Hello, I'm trying to upgrade the portaudio lib due to some issues with the sound card in my box (I've found issues on 2 different boxes). I'm trying to run FS on bleeding edge distro - as this is a desktop box requiring fancy things - Ubuntu Jaunty 9.04 x86_64/i386 I know that hot new ubuntu is not supported so I'm trying to work on by myself - and give back if I have anything reasonable :) As I saw on portaudio.com, there were some improvements with ALSA handling and it should handle newer cards better now (non-mmap patch): http://portaudio.com/trac/log/portaudio/trunk/src/hostapi/alsa/pa_linux_alsa... As I've seen, there is some fix for windows's wdmks stuff too. I'm not qualified to hack PA, but I can play with it a bit :) What I would need to know is, which version (and source - as there is a separate fork e.g. at audacity too) is the one the FS trunk is having and what fixes/changes had been applied to it before merge (if I have had the exact version of included PA, I could make a diff and see by myself). From FS svn log I can see what changes were since the version bump- From FS svn log I see, that at r8835 we had the last version bump: r8835 | anthm | 2008-06-25 00:15:50 +0200 (sze, 25 jún 2008) | 1 line merge in newer portaudio Are the changes in FS regarding PA sent to upstream? (I know, PA is used to be pretty non-responsive) Maybe it would be good to store the last PA version and source data in tree to be able to upgrade easier in the future. We are interested in improving the quality (mainly on windows) as we try to use this excellent stuff as a softphone base :) Regards, Tamas
As Walter Sobchak used to say (http://www.imdb.com/title/tt0118715/quotes): You're entering a world of pain, son. ;-) I don't know the svn revision of PA used by FS (/usr/src/freeswitch/libs/portaudio), but you can just make a diff between the one used by FS and the bleeding edge PA svn. Will probably be little diffs, you can integrate. Be aware that mod_portaudio use its own version of pablio mechanism (found in /usr/src/freeswitch/src/mod/endpoints/mod_portaudio), maybe it will works also if you integrate the changes in the PA lib (/usr/src/freeswitch/libs/portaudio). If any problem arises, its because some modification in the PA lib conflicts with the pablio mechanism. OTH, -giovanni Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 2009/8/29 Tamas <jalsot@gmail.com>:
Hello,
I'm trying to upgrade the portaudio lib due to some issues with the sound card in my box (I've found issues on 2 different boxes). I'm trying to run FS on bleeding edge distro - as this is a desktop box requiring fancy things - Ubuntu Jaunty 9.04 x86_64/i386 I know that hot new ubuntu is not supported so I'm trying to work on by myself - and give back if I have anything reasonable :)
As I saw on portaudio.com, there were some improvements with ALSA handling and it should handle newer cards better now (non-mmap patch): http://portaudio.com/trac/log/portaudio/trunk/src/hostapi/alsa/pa_linux_alsa...
As I've seen, there is some fix for windows's wdmks stuff too. I'm not qualified to hack PA, but I can play with it a bit :)
What I would need to know is, which version (and source - as there is a separate fork e.g. at audacity too) is the one the FS trunk is having and what fixes/changes had been applied to it before merge (if I have had the exact version of included PA, I could make a diff and see by myself). From FS svn log I can see what changes were since the version bump-
From FS svn log I see, that at r8835 we had the last version bump:
r8835 | anthm | 2008-06-25 00:15:50 +0200 (sze, 25 jún 2008) | 1 line merge in newer portaudio
Are the changes in FS regarding PA sent to upstream? (I know, PA is used to be pretty non-responsive) Maybe it would be good to store the last PA version and source data in tree to be able to upgrade easier in the future.
We are interested in improving the quality (mainly on windows) as we try to use this excellent stuff as a softphone base :)
Regards, Tamas
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
I THINK we were on the last stable snapshot at the time http://www.portaudio.com/archives/pa_stable_v19_061121.tar.gz . I don;t think anyone has taken the time to push any patches back up. Some of them for sure are hack types that would not be accepted. Others should be merged back, and I would need to see the diff to say more which are which. Mike On Aug 29, 2009, at 4:50 AM, Tamas wrote:
Hello,
I'm trying to upgrade the portaudio lib due to some issues with the sound card in my box (I've found issues on 2 different boxes). I'm trying to run FS on bleeding edge distro - as this is a desktop box requiring fancy things - Ubuntu Jaunty 9.04 x86_64/i386 I know that hot new ubuntu is not supported so I'm trying to work on by myself - and give back if I have anything reasonable :)
As I saw on portaudio.com, there were some improvements with ALSA handling and it should handle newer cards better now (non-mmap patch): http://portaudio.com/trac/log/portaudio/trunk/src/hostapi/alsa/pa_linux_alsa...
As I've seen, there is some fix for windows's wdmks stuff too. I'm not qualified to hack PA, but I can play with it a bit :)
What I would need to know is, which version (and source - as there is a separate fork e.g. at audacity too) is the one the FS trunk is having and what fixes/changes had been applied to it before merge (if I have had the exact version of included PA, I could make a diff and see by myself). From FS svn log I can see what changes were since the version bump-
From FS svn log I see, that at r8835 we had the last version bump:
r8835 | anthm | 2008-06-25 00:15:50 +0200 (sze, 25 jún 2008) | 1 line merge in newer portaudio
Are the changes in FS regarding PA sent to upstream? (I know, PA is used to be pretty non-responsive) Maybe it would be good to store the last PA version and source data in tree to be able to upgrade easier in the future.
We are interested in improving the quality (mainly on windows) as we try to use this excellent stuff as a softphone base :)
Regards, Tamas
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
We don't even have any local mods to the pa lib, You should be able to drop in any newer version. They abandoned that pablio thing and we took it from the trash and hacked it up so that's part of the mod now not the lib. The last time I tried a newer svn snapshot of pa it crashed a lot so good luck maybe if they claim its stable now it will work. On Aug 29, 2009 7:19 AM, "Michael Jerris" <mike@jerris.com> wrote: I THINK we were on the last stable snapshot at the time http://www.portaudio.com/archives/pa_stable_v19_061121.tar.gz . I don;t think anyone has taken the time to push any patches back up. Some of them for sure are hack types that would not be accepted. Others should be merged back, and I would need to see the diff to say more which are which. Mike On Aug 29, 2009, at 4:50 AM, Tamas wrote: > Hello, > > I'm trying to upgrade the portaudio lib due...
We don't have any real code changes but there are quite a few changes for portability. (both build system and in code) On Aug 29, 2009, at 11:54 AM, Anthony Minessale wrote:
We don't even have any local mods to the pa lib, You should be able to drop in any newer version. They abandoned that pablio thing and we took it from the trash and hacked it up so that's part of the mod now not the lib. The last time I tried a newer svn snapshot of pa it crashed a lot so good luck maybe if they claim its stable now it will work.
On Aug 29, 2009 7:19 AM, "Michael Jerris" <mike@jerris.com> wrote:
I THINK we were on the last stable snapshot at the time http://www.portaudio.com/archives/pa_stable_v19_061121.tar.gz . I don;t think anyone has taken the time to push any patches back up. Some of them for sure are hack types that would not be accepted. Others should be merged back, and I would need to see the diff to say more which are which.
Mike On Aug 29, 2009, at 4:50 AM, Tamas wrote: > Hello, > > I'm trying to upgrade the portaudio lib due...
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (4)
-
Anthony Minessale
-
Giovanni Maruzzelli
-
Michael Jerris
-
Tamas