Comments (9)
plughw:1,0,0
Are you sure your device have that name? Usually there only two numbers separated by comma.
Another reason of busy device is ALSA pulseaudio plugin. It causes a loop with apulse if installed. It's used to send audio from all ALSA clients to PulseAudio server. Usually that's fine, since PulseAudio itself opens hardware device directly. But apulse
relies on dmix, so when it plays audio, it gets piped to apulse
again.
from apulse.
It's card, device, subdevice: the last is optional. For input I have,
card 1: G4ME1 [Sennheiser 3D G4ME1], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
and for output,
card 1: G4ME1 [Sennheiser 3D G4ME1], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
and these do work fine for the outgoing test call. Everything is the same if I use plughw:1,0
instead.
Those two Device or resource busy
error messages appear exactly when I click the "Answer" button for an incoming call; up to that point, everything works fine.
I suppose I must have the ALSA pulseaudio plugin: I don't on my normal system, but within my 32-bit chroot I see from Skype's Debian package that skype depends upon libasound2-plugins, so it is installed in the chroot as a Skype requirement.
$ dpkg --status skype | grep ^Depends:
Depends: libc6 (>= 2.3.6-6~), libc6 (>= 2.7), libgcc1 (>= 1:4.1.1), libqt4-dbus (>= 4:4.5.3), libqt4-network (>= 4:4.8.0), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.8.0), libqtwebkit4 (>= 2.1.0~2011week13), libstdc++6 (>= 4.2.1), libx11-6, libxext6, libxss1, libxv1, libssl1.0.0, libpulse0, libasound2-plugins
I don't know if there's an easy way to tell if that plugin is actually being used.
from apulse.
Try to move file /usr/share/alsa/alsa.conf.d/pulse.conf
somewhere, and try again.
from apulse.
Alas, still exactly the same problem with an empty /usr/share/alsa/alsa.conf.d
both inside and outside the chroot: outgoing calls work fine, but those two error lines appear the moment I click "answer".
from apulse.
(Also, no mentions of pulse in the regular alsa.conf
.)
from apulse.
The only difference I can imagine between calling and receiving calls is ring sound played. So when one answers the call, two streams are played simultaneously. Perhaps dmix doesn't work.
Are you sure that when you call
$ APULSE_CAPTURE_DEVICE=plughw:1,0,0 APULSE_PLAYBACK_DEVICE=plughw:1,0,0 schroot bash
environment variable APULSE_PLAYBACK_DEVICE
is set properly?
from apulse.
Aha, thank you for the clue! 👍 My problem was indeed that dmix wasn't properly configured in my .asoundrc
. Now it all works fine. 😃
from apulse.
Could you please show your .asoundrc?
from apulse.
I am having it use only the Sennheiser PC 163D gaming headset that I have plugged in via USB:
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "iec958:G4ME1"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
pcm.asymed {
type asym
playback.pcm "dmixer"
capture.pcm "iec958:G4ME1"
}
pcm.dsp0 {
type plug
slave.pcm "asymed"
}
pcm.!default {
type plug
slave.pcm "asymed"
}
pcm.default {
type plug
slave.pcm "asymed"
}
ctl.mixer0 {
type iec958
card G4ME1
}
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.