After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 451972 - It would be nice to have a portaudio sound plugin...
It would be nice to have a portaudio sound plugin...
Status: RESOLVED WONTFIX
Product: ekiga
Classification: Applications
Component: PTLIB
GIT master
Other All
: Low enhancement
: ---
Assigned To: Snark
Ekiga maintainers
Depends on: 555349
Blocks:
 
 
Reported: 2007-06-28 18:17 UTC by Snark
Modified: 2011-10-21 07:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Header file for an implementation (1.63 KB, text/x-chdr)
2007-06-29 13:06 UTC, Snark
Details
Source file for an implementation (7.13 KB, text/x-c++src)
2007-06-29 13:06 UTC, Snark
Details
Source file for an implementation (7.27 KB, text/x-c++src)
2007-06-30 16:27 UTC, Snark
Details
Source file for an implementation (7.26 KB, text/x-c++src)
2007-06-30 18:25 UTC, Snark
Details
Source file for an implementation (7.33 KB, text/x-c++src)
2007-06-30 19:00 UTC, Snark
Details

Description Snark 2007-06-28 18:17:14 UTC
... I'll have to find the time to work on it.
Comment 1 Snark 2007-06-29 13:06:26 UTC
Created attachment 90860 [details]
Header file for an implementation
Comment 2 Snark 2007-06-29 13:06:58 UTC
Created attachment 90861 [details]
Source file for an implementation
Comment 3 Snark 2007-06-29 13:08:29 UTC
Here is the Makefile I use :
all: portaudio_pwplugin.so

portaudio_pwplugin.so: sound_portaudio.cxx sound_portaudio.h
        g++ -Wextra -shared -o $@ $< -DPTRACING -I/usr/include -lportaudio

It compiles and doesn't seem to make ekiga too crashy, but doesn't work yet.
Comment 4 Snark 2007-06-29 13:11:34 UTC
Notice that I use my header file from bug #332442.
Comment 5 Snark 2007-06-30 16:27:06 UTC
Created attachment 90932 [details]
Source file for an implementation

This one can actually play sound events. For some reason, my usb webcam mic cannot be properly detected by portaudio, and my sound chipset's input is detected but won't work...

It would be nice if someone else could have a look :-)
Comment 6 Snark 2007-06-30 18:25:43 UTC
Created attachment 90939 [details]
Source file for an implementation

Ok, I dumbed it down, and it works better.

I couldn't really test since portaudio really doesn't like my webcam mic, and since my other mics don't seem to work (even with the ALSA plugin)...
Comment 7 Snark 2007-06-30 19:00:54 UTC
Created attachment 90942 [details]
Source file for an implementation

Ok, next iteration : little change.

I unstuck my alsa installation, and can run the druid audio test and sound events. 

Calling 500@ekiga.net doesn't work yet, though...
Comment 8 Snark 2007-08-08 08:00:05 UTC
Let me try to pinpoint the main difference between the different uses :
- for sound events, the plugin just takes the data and uses it
- for audio test, the plugin takes the data and pushes it to itself
- for a call, on one side the plugin takes data which comes from outside, and on the other side pushes data to outside

So could in fact, the only time my plugin really seriously exchanges data with outside of itself is during a call -- and this is precisely when it fails.
Comment 9 Snark 2007-08-08 08:32:52 UTC
I played with pcss.cpp, and could check that audio input with portaudio works during calls : only audio output is broken during calls.
Comment 10 Snark 2011-10-21 07:01:21 UTC
Sigh... gstreamer won't have portaudio inside, and if I find the time to work, it will be to add gstreamer, not portaudio.