Comments (19)
If you launch Skype from terminal emulator, do you see any error messages?
from apulse.
No.
from apulse.
Then I have no idea what it is and how to fix it.
from apulse.
Any ideas about how to debug it? Increase debug level, use strace, etc.?
from apulse.
Also, I've previously used skype with pulseaudio, and used pavumeter to configure it, so maybe this happens because of some leftovers of pulseaudio configuration?
from apulse.
Any ideas about how to debug it?
Compiling debug version will turn on trace output, for almost every API call will be printed to stdout. (cmake -DCMAKE_BUILD_TYPE=Debug ..
, then make
again.)
I would trace return values from ALSA calls. Now if one of them fails, error is reported. It's still odd that no errors messages was produced.
Then, I would probably add logging to capture path to find out if any data is read from device.
so maybe this happens because of some leftovers of pulseaudio configuration?
No, I don't think so.
from apulse.
I've run /usr/bin/i686-pc-linux-gnu-apulse skype >apulse-debug.log 2>&1
(yesterday's dev version, I don't have ~/.asoundrc now), make skype test call, and exit skype. Please check log http://powerman.name/tmp/apulse-debug.log and let me know what I should try next.
from apulse.
try to edit ~/.asoundrc like that:
pcm.usb
{
type hw
card Audigy2
}
pcm.!default
{
type asym
playback.pcm
{
type plug
slave.pcm "dmix"
}
capture.pcm
{
type plug
slave.pcm "usb"
}
}
from apulse.
@lodgerz thanks, but it makes no difference, except with your .asoundrc skype was unable to open sound device while mplayer was runnning (without .asoundrc this issue doesn't exists).
from apulse.
show me the output of:
$ cat /proc/asound/cards
from apulse.
$ cat /proc/asound/cards
0 [Audigy2 ]: Audigy2 - SB Audigy 2 ZS [SB0350]
SB Audigy 2 ZS [SB0350] (rev.4, serial:0x20021102) at 0xc080, irq 19
from apulse.
try this:
http://pastebin.com/ehT4YNUk
or:
http://pastebin.com/rgJq8TXm
from apulse.
With both configs microphone in skype still doesn't work.
With second config I've also tried to run skype while mplayer was running - works ok - and also tried again to use arecord/aplay - microphone in arecord works ok:
$ LANG=C arecord -t wav -r 44100 -f S16_LE 1.wav
Recording WAVE '1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
^CAborted by signal Interrupt...
arecord: pcm_read:2031: read error: Interrupted system call
$ aplay 1.wav
Playing WAVE '1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
I've also tried -r 48000 - works ok too. Not sure is this important but by default (without params) arecord use very bad quality (but it also works ok): "Unsigned 8 bit, Rate 8000 Hz, Mono".
from apulse.
BTW, looks like there is no difference in running skype
or apulse skype
because in Gentoo apulse's libs are installed into /usr/lib64/ and /usr/lib32/ and these paths are already in /etc/ld.so.conf
.
from apulse.
Is there exists small tool similar to arecord but which use pulseaudio, to test microphone+apulse without skype?
from apulse.
Is there exists small tool similar to arecord but which use pulseaudio, to test microphone+apulse without skype?
avconv -f pulse -i default out.wav
(or ffmpeg -f pulse -i default out.wav
)
but they don't work now. Functions in libpulse-simple.so are not implemented, and if I use libpulse-simple.so from PulseAudio, nothing gets recorded. Didn't investigate that.
from apulse.
@powerman, try code from https://github.com/i-rinat/apulse/tree/dev
from apulse.
@i-rinat wow, it works! Thanks!
from apulse.
OK, pushed to master branch.
from apulse.
Related Issues (20)
- Error when starting application with apulse HOT 1
- Firejailed browsers no sound (Firefox & Brave) HOT 1
- Firefox 71.0b6 no sound HOT 2
- No alsa sound in FF 69 HOT 1
- Capture PCM output of apulse HOT 2
- No sound with FF 73 (working with FF 72) HOT 1
- Apulse does not work with alsa ioplug HOT 1
- apulse with firefox 68.6.esr (devuan) HOT 7
- chromium/brave error in trisquel etiona/ubuntu 18.0 HOT 9
- patchelf not working HOT 2
- fluidsynth 2.1.3 can't find pa_threaded_mainloop_get_api symbol HOT 2
- viber complains for old version of PulseAudio server HOT 1
- Fix building with PulseAudio 13
- Audio lags behind by .5 seconds on Factorio HOT 3
- Capture device leaves browser with locks held
- apulse should not even exist HOT 2
- Is this project unmaintained? HOT 3
- apulse + firefox reader view causes speech to fail for other applications
- What is more secure, apulse or PipeWire? HOT 2
- Telegram doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apulse.