LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2012, 03:27 PM   #1
pheanex
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Alsa - Softwaremixing dmix doesnt work


Hi,

sound works, but softwaremixing doesnt. (=> Cant play multiple streams at once)
Could you take a look at my .asoundrc file and tell me whats wrong?
http://www.alsa-project.org didnt help too much here.

aplay -l
Code:
**** Liste der Hardware-Geräte (PLAYBACK) ****                                                                                                         
Karte 0: Intel [HDA Intel], Gerät 0: AD198x Analog [AD198x Analog]                                                                                     
  Sub-Geräte: 1/1                                                                                                                                      
  Sub-Gerät #0: subdevice #0                                                                                                                           
Karte 0: Intel [HDA Intel], Gerät 1: AD198x Digital [AD198x Digital]                                                                                   
  Sub-Geräte: 1/1                                                                                                                                      
  Sub-Gerät #0: subdevice #0                                                                                                                           
Karte 0: Intel [HDA Intel], Gerät 2: AD198x Headphone [AD198x Headphone]                                                                               
  Sub-Geräte: 1/1                                                                                                                                      
  Sub-Gerät #0: subdevice #0                                                                                                                           
Karte 1: Headset [Logitech G930 Headset], Gerät 0: USB Audio [USB Audio]                                                                               
  Sub-Geräte: 1/1                                                                                                                                      
  Sub-Gerät #0: subdevice #0                                                                                                                           
Karte 2: Generic [HD-Audio Generic], Gerät 3: HDMI 0 [HDMI 0]                                                                                          
  Sub-Geräte: 1/1                                                                                                                                      
  Sub-Gerät #0: subdevice #0
=> Im Using Card1,Device 0 (Logitech Headset)

and now the .asoundrc:
Code:
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                                                                                                                                         
}
 
Old 08-04-2012, 09:45 AM   #2
pheanex
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Is there any additional information i can supply you with to solve this little mistery?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission to use alsa dmix Ian_Hawdon Linux - Software 10 12-21-2005 09:09 AM
Recompiling Kernel 2.4.29 ==> Alsa doesnt work. emcoder123 Slackware 2 08-18-2005 05:47 PM
ALSA dmix + Skype = no go zenith_zth Linux - Hardware 0 06-12-2005 04:38 PM
Sound in Slackware 9.1 with ALSA doesnt work? Bauernkilla Slackware 5 09-20-2004 11:41 PM
Alsa Doesnt work Creeps Linux - General 1 09-14-2004 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration