Re: Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially - a little progress . .

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



3. Using the .asoundrc above prevents Mumble and YouTube in Chrome working
Mumble is a phoning program right? That asoundrc does not setup any
input device, in my examply I combine dmix for the output and the
hardware for input.
I did that because I don't need multiple input streams at the same
time, but I need multiple outputs.

On Wed, Oct 7, 2015 at 4:12 PM, Paolo Bolzoni
<paolo.bolzoni.brown@xxxxxxxxx> wrote:
> 6. I found this: "NOTE: For ALSA 1.0.9rc2 and higher you don't need to
> setup dmix for analogue output. Dmix is enabled by default for
> soundcards which don't support hardware mixing. You still need to set
> it up for digital outputs."
>
> In my experience, this is a lie.
>
> On Wed, Oct 7, 2015 at 2:13 PM, Philip Rhoades <phil@xxxxxxxxxxxxx> wrote:
>> Paolo, Anders,
>>
>>
>> On 2015-10-07 02:44, Paolo Bolzoni wrote:
>>>
>>> I use this default. It allows to select any pcm via environment variable
>>> pcm.!default {
>>>   type plug
>>>   slave.pcm {
>>>     @func getenv
>>>     vars [ ALSAPCM ]
>>>     default "pcm.PCH"
>>>   }
>>> }
>>>
>>> As you can see the default is pcm.PCH I told you before. But it is
>>> useful to be able to change the sound pcm with ease because some
>>> programs do not like speak with dmix and want to speak with the
>>> hardware directly. (e.g., wine)
>>>
>>> So, for that programs I use ALSAPCM=hw:PCH.
>>>
>>> But, once again, names are probably different on your system.
>>
>>
>>
>> OK, once I saw your comments about dmix I started to try and get that to
>> work - what I have found so far:
>>
>> 1. With NO .asoundrc file - only ONE mplayer instance works
>>
>> 2. Using this .asoundrc:
>>
>> pcm.!default {
>>   type plug
>>   slave.pcm "dmixer"
>> }
>>
>> pcm.dmixer  {
>>   type dmix
>>   ipc_key 1024
>>   slave {
>>       pcm "hw:1,0"
>>       period_time 0
>>       period_size 1024
>>       buffer_size 4096
>>       rate 44100
>>   }
>>   bindings {
>>       0 0
>>       1 1
>>   }
>> }
>>
>> ctl.dmixer {
>>   type hw
>> # card 0
>>   card 1
>>   device 0
>> }
>>
>> I can get TWO mplayers going at the same time.
>>
>> 3. Using the .asoundrc above prevents Mumble and YouTube in Chrome working
>>
>> 4. With NO .asoundrc file and xfce4-mixer and alsamixer settings for Front
>> Mike, Front Mike Boost, Rear Mike and Rear Mike Boost ALL muted, Mumble
>> still works fine! - it looks like it is bypassing ALSA and talking directly
>> to the port or something?
>>
>> 5. It looks like dmix setups can get quite complex - more reading is
>> required I think . .
>>
>> 6. I found this: "NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup
>> dmix for analogue output. Dmix is enabled by default for soundcards which
>> don't support hardware mixing. You still need to set it up for digital
>> outputs." here:
>>
>>   http://alsa.opensrc.org/Dmix
>>
>> - so I'm not sure what that means for me - I am only using analogue output .
>> .
>>
>> 7. It looks like with some correct dmix parameters for custom pcms for
>> Mumble and Chrome/YouTube, I should be able to get those to work?
>>
>> 8. There is stuff about snd-aloop and asym that also might be relevant but I
>> am a bit lost now . .
>>
>> 9. It looks like these problems go back a while:
>>
>>   https://bugzilla.redhat.com/show_bug.cgi?id=130593
>>
>> but my problems seems like they should be soluble by now at least - even if
>> I have to set up a custom pcm for each input source . .
>>
>> Thanks,
>>
>> Phil.
>> --
>> Philip Rhoades
>>
>> PO Box 896
>> Cowra  NSW  2794
>> Australia
>> E-mail:  phil@xxxxxxxxxxxxx

------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux