Re: [Alsa-user] Line-in volume

2021-12-22 Thread Paul A. Steckler
On Tue, Dec 21, 2021 at 11:23 PM Ralf Mardorf wrote: > Please describe in what way the signal is "too loud". Is the signal distorted? > Is the speaker's/headphone's sound too loud? The sound from the speakers is too loud, although not distorted. There are attenuator devices you can purchase, whi

[Alsa-user] Line-in volume

2021-12-21 Thread Paul A. Steckler
I'm running Linux Mint 20.2 (x64 / Cinnamon). I'd like to play sound from a device connected to my sound card's line-in. I'm able to do so by enabling the loopback device in alsamixer. But even with the line-in level and line-in booster level set to 0, the volume is too loud. Adjusting the line-i

[Alsa-user] snd_pcm_writei errors

2014-10-14 Thread Paul A. Steckler
I have an ALSA application running in x64 Linux (Fedora 20). The application receives some PCM data to play over a network connection, and calls snd_pcm_writei. The playback device is "default", which in my case is the PulseAudio Sound Server. Mostly, things go very smoothly, but there are two ki

Re: [Alsa-user] Using hw device in presence of PulseAudio

2014-09-08 Thread Paul A. Steckler
Well, I meant, keep PulseAudio running, but still use ALSA without using the PulseAudio server device, which other applications may want to use. -- Paul On Mon, Sep 8, 2014 at 4:11 PM, Sergei Steshenko wrote: > > > > Fri, 5 Sep 2014 09:38:54 -0700 от "Paul A. Steckler" :

[Alsa-user] Using hw device in presence of PulseAudio

2014-09-05 Thread Paul A. Steckler
I have an app that uses the ALSA library on Linux. The app calls snd_pcm_open() to open the capture device. Currently, I use "default" as the name of the device. According to "arecord -L", the default device is the PulseAudio server. Is there a way to bypass PulseAudio, and communicate with the

[Alsa-user] Capture of sound before application starts

2014-09-04 Thread Paul A. Steckler
I'm working on an app that captures audio using the ALSA API. A tester of the app noticed the following behavior. If a sound is playing just before the app starts, and then the app is started, that sound is captured when snd_pcm_readi() is called. Any sound playing within about a second before sta