[SOLVED]XBMC Alsa Nvidia HDMI cant get dmix working with plughw:1,

With 2.6.34 i'm able to get audio through my Asus (Nvidia chipset) GF210. 
The issue is that in order to get audio in XBMC, i have to specify a custom audio device as plughw:1,7 and that seems to disable dmix -- ergo, no more two sounds at once (so no crossfade during music playback).
this is the only card description that works; it basically tells XBMC to output to the raw hardware directly on card 1 device 7 skipping all layers of abstraction (including dmix). 
this method is only recommended for applications that will do all their own mixing (think jackd).  so the behavior is to be expected.
some online docs say dmix will only work with the "default" device, others say it might work if i don't use the hw descriptor, but omitting the "hw" --> no sound at all.
the only other way i can get sound at all is to redefine pcm.!default as the plughw:1,7 device in /etc/asound.conf and then specify "default" in XBMC (this makes sense) but this still seems to mean no dmix.
obviously, resetting everything and using the normal VGA + Headphone-out mixes and crossfades just fine.
So, does anyone know:
  * a way to get dmix going with a custom plughw card/device
  * a way to tell XBMC to do the mixing on its own before sending the sound to plughw -- is this possible?
any help appreciated, it's more of a want than a need right now.
up to date 64bit, stock 2.6.34.1-1 kernel, and xbmc 9.11-17 if that matters.
Last edited by brisbin33 (2010-07-10 01:16:54)

Getting dmix to run through a custom device is easy:
pcm.dmixer {
type dmix
ipc_key 2048
slave {
pcm "hw:1,7" # Always use pure hw. dmix will reformat/resample audio.
period_size 512 # If you get stuttering/or non-working audio, fiddle around with these
buffer_size 4096
rate 48000 # HDMI, I'll assume 48kHz
format S16_LE # Should be default for pretty much any soundcard.
bindings {
0 0
1 1
pcm.!default {
type plug
slave.pcm dmixer
Using this approach, everything will pass through dmix, which passes to hw:1,7.
Last edited by Themaister (2010-07-09 21:58:01)

Similar Messages

  • I have an iphone 3G 16GB 4.2.1 - i moved back to canada and got telus mobile service. they cant get phone working because cellular data network tab/button is not on my phone. How do i get it on there

    i have an iphone 3G 16GB 4.2.1 - i moved back to canada and got telus mobile service. they cant get phone working because cellular data network tab/button is not on my phone. How do i get it on there

    OK. T-Mobile is NOT owned by AT&T... yet... The deal hasn't gone through yet. T-Mobie's US network is not compatible with the iPhone. Lots of things don't work right. There is not, and never has been an unlocked 3G sold in the US. Don't know where the phone originated, but more than likely it was in the US. If that's the case, the phone has been hacked/jailbroken to get it to work.
    Have you tried doing a restore or restoring the phone as new? I have to warn you, if you do so and the phone is hacked/jailbroken, it will re-lock to AT&T and will become unusalbe.  I think your best bet right now might be to save yourself a lot of grief and just upgrade to new phone from a legitimate source.
    I would never even consider buying an iPhone on ebay. 99% or more are hacked, jailbroken and/or stolen.

  • I have a ipod and it needs to be activated, but my brother used it and he gave it back to me and moved away i cant get in contact with him how do i fix it ?

    i have a ipod and it needs to be activated, but my brother used it and he gave it back to me and moved away i cant get in contact with him how do i fix it ?

    You are running into
    Find My iPhone Activation Lock
    Can yo get your brother to do this:
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    Are you the original purchaser and have proof of purchase? If so them Apple can help.
    Apple - Support - iTunes - Contact Us

  • HT201441 i cant get in touch with the previous owner to get the device removed from their account

    How can i resolve this issue since i cant get in contact with the account holder?

    Welcome to the Apple community.
    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

  • HT201441 hi i bought a ipad mini second hand and trying to set it up i cant get in contact with the last owner to reset the icloud address

    hi i bought a ipad mini second hand and trying to set it up i cant get in contact with the last owner to reset the icloud address

    If you are trying to activate an iPad or iPhone and it is asking for a previous owners Apple ID and password, you have encountered the Activation Lock. This is a security feature that prevents thieves from setting up and using a stolen or lost iPad or iPhone. You have no alternative. You must contact the previous owner to get permission to use the device. If you cannot contact the previous owner return the device to where you bought it and get a refund. You will never be able to activate the device and no one can help you do it.

  • HT5621 how can i unlink an iphone from its previous users email so i can turn it on to my own email address, also i cant get in contact with the previous owner

    how can i unlink an iphone from its previous users email so i can turn it on to my own email address, also i cant get in contact with the previous owner

    If you are referring to Activation Lock, the password for the Apple ID signed into the device is required, there is no way around this.  If you do not have the information and cannot contact the previous owner, the device is useless.

  • Hey i found an ipod and cant get to sync with itunes what do i do

    hey i found an ipod and cant get to sync with itunes what do i do

    If you mean that you have found "an iPod" - which is not yours, that is, you found it in the street, or in your office/school etc, then you should be handing the iPod into the relevant authority.
    If you found it in the street, hand it in to the local police station.
    If you found it at school, in your office, public library or similar, hand it in to the lost property office for that buiding/organisation.
    After all, if you lost your iPod, wouldn't you ask at the police station etc. and hope that some kind person had handed it in?

  • HT201441 i bought a apple iphone 4s and it came locked from ebay & i cant get into contact with the guy its no possible way ! and im pretty ******

    bought a apple iphone 4s and it came locked from ebay & i cant get into touch with the guy its no possible way annd im getting ****** !

    File a complaint with eBay to get a refund on the useless iPhone.

  • Macbook Pro 2011 DVI HDMI out does not work with TV when the power cable is connected

    My Macbook Pro (Early 2011) DVI HDMI out does not work with TV when the power cable is connected. If get the blue screen and then can use the macbook but nothing is displayed on the TV. If i go into display I can see that there are two screens but nothing displayed on the TV. If i take the power cable out at this point the TV shows the second desktop as expected. If i then reconnect the cable, the screen flickers, as though it is being affected by the power cable, and the screen goes blank on the TV. Only if i remove the DVI cable do i get the blue screen again. If i remove the power cable and reconnect it will do it every single time, so i cannot see it being a TV issue or a minor glitch.
    I have had this working previously but at the minute it seems to not be playing ball....any thoughts
    Thanks
    Dan

    BUMP
    Any ideas?

  • My hard drive crashed on my Imac 24" 2009, i put in a new hard drive 2TB and a SSD drive 240 GB and removed the opticdrive. What external DVD can I get to work with the IMac? The Apple super drive is not compatible.

    My hard drive crashed on my Imac 24" 2009,  I installed a new hard drive 2TB and a SSD drive 240 GB and removed the optical drive.
    What external DVD can I get to work with the IMac?                              The Apple super drive is not compatible.

    Virtually any DVD burner that can connect to your Mac will work. They start at $40 on Amazon.

  • [svn] 1317: Updates to get flex working with the Vector stuff.

    Revision: 1317
    Author: [email protected]
    Date: 2008-04-20 12:12:54 -0700 (Sun, 20 Apr 2008)
    Log Message:
    Updates to get flex working with the Vector stuff. Had to add support for the new name type, and new applytype opcode to the Optimizer/Merger that flex uses. Also had to slightly change how the instantiated vector classes find their declared methods. Previously they were copied into the new class, but now they just point to the original vector class.
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/ConstantPool.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Decoder.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Encoder.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/OpcodeVisitor.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Opcodes.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Printer.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Scanner.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Visitor.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConstantEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/FlowAnalyzer.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ReferenceValue.java

    despite the workaround, it doesn't fix the real problem. It shouldn't be a huge deal for adobe to add support for multiple svn versions. Dreamweaver is the first tool i've used that works with svn that doesn't support several types of svn meta data. If they're going to claim that Dreamweaver supports svn is should actually support svn, the current version, not a version several years old. This should have been among the first patches released, or at least after snow leopard came out (and packaged with it the current version of svn).
    does anyone know if the code that handles meta data formatting is something that is human readable, or where it might be, or is it in compiled code.
    i signed up for the forums, for the sole purpose of being able to vent about this very frustrating and disappointing situation.

  • How to get QTP11 work with FF17. Unable to get Quicktest Proffessional11 plugin

    How to get QTP11 work with FF17. I have already installed Patch_090 and 0122.
    Unable to get Quicktest Proffessional11 plugin even after creating temp directory, into FF “extensions” directory.
    Please help

    If I may ask is there a recommended version of Firefox for the extension? [http://www.qatutorial.com/files/QTP_Install_Guide.pdf] is all I could find on how to install the software, is this the right add on?

  • Is it possible to create the adhoc network and get it work with WLAN APIs (WlanConnect) instead of netsh commands...?

    Hi All,
    I am facing issues in creating  adhoc network in Windows 8.1. After searching in internet, I found that adhoc works with 
    netsh commands.
    1. I have tried neths commands and able to get it work on windows 8.1, 
     but I want to do it through the WLAN APIs ie. WlanConnect ,
    2. I am able to initiate the adhoc network(on Windows 8.1) by using WlanConnect API and other device are also able to connect to the Windows8.1 initiated adhoc  network  but the DHCP is not working.
    -> clients are not able to get the IP address.
    Is it possible to create the adhoc network and get it work with WLAN APIs (WlanConnect) instead of netsh commands...?
    Thanks
    akhil

    Hi,
    Did you mean to write a program to implement that creating adhoc via UI? This should be development issue.
    But this is Windows 8.1 client forum and there is no professional on develop.
    To help you better, I suggest you submit a new case on MSDN forum to help to check your code as they will be more professional on your issue:
    This is the MSDN forum link.
    http://social.msdn.microsoft.com/Forums/ 
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.
    Kate Li
    TechNet Community Support

  • Cant get stereo sound with alsa

    i installed arch about 5 or 6 months ago and setup alsa for sound
    The problem is that only the left speaker is working.  Somehow i have gone all this time without ever noticing.  I probably would still have not noticed except i booted into windows the other day, for the first time in about a year, and realized that I had two speakers working with media player.
    i've scanned through the wiki and done some google and forum searching, but i can't seem to find anything about getting stereo sound to work with alsa.
    Is anybody else having this problem?  What can i do to make both speakers work?
    Last edited by tjwoosta (2009-04-30 19:35:44)

    [tj@myhost ~]$ amixer contents
    numid=2,iface=MIXER,name='Master Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=1,iface=MIXER,name='Master Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=31,31
    | dBscale-min=-46.50dB,step=1.50dB,mute=0
    numid=7,iface=MIXER,name='PCM Playback Volume'
    ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
    : values=255,255
    | dBscale-min=-51.00dB,step=0.20dB,mute=0
    numid=5,iface=MIXER,name='Capture Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=4,iface=MIXER,name='Capture Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
    : values=15,15
    | dBscale-min=0.00dB,step=1.50dB,mute=0
    numid=8,iface=MIXER,name='Digital Capture Volume'
    ; type=INTEGER,access=rw---RW-,values=2,min=0,max=120,step=0
    : values=0,0
    | dBscale-min=-30.00dB,step=0.50dB,mute=0
    numid=3,iface=MIXER,name='Input Source' ; type=ENUMERATED,access=rw------,values=1,items=3
    ; Item #0 'Mic'
    ; Item #1 'Front Mic'
    ; Item #2 'CD'
    : values=0
    numid=6,iface=MIXER,name='Mux Capture Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=4,step=0
    : values=0,0
    | dBscale-min=0.00dB,step=10.00dB,mute=0
    [tj@myhost ~]$
    i have no idea what any of this means

  • Ghost 970 6gb mini display port to Asus pg278Q 144hz cant get to work

    I am using a straight mini display port cable to display port no adapter and I can only get 120hz. It seems like it has to do with the fact the monitor is using the intel 4600 gpu instead of the 970m. Is there anyway around this? I changed the setting in nvidia control panel to use it all the time but does not help. Is there any setting I can do?
    I cant get 144hz and therefore cannot get g-sync to work. I have searched these forums but cant seem to find a clear answer.

    Currently none of MSI laptops support G-Sync, only the dock for GS30 supports (because it's actually a desktop).
    I heard MSI they are still working on this but not sure if current models can be patched to support G-Sync or only new models support.

Maybe you are looking for

  • Can I make a new iTunes account for my iPhone without losing photos?

    For the past four years, my sister and I have shared an iTunes account, as we were younger then and so liked roughly the same music.    In April 2014, I bought myself an iPhone 5s, and connected it to our usual, joined Apple ID.  Now though, we have

  • Problem with sso for asp applications

    Hi, i am using the web app integrator to integrate asp application with SSO, i am getting permission denied some times, the permission denied is a small html file on asp server side when userid is null. I am sure that the user id is not null because

  • Std Report to see Material doc. and FI doc.

    Hi all, I want a SAP standard report where i can see both the Material doc. as well as the FI doc. created against that in a single report. Please help. Thanks & Regards, Rajeev Kumar

  • How can I view a recto page on the right?

    This used to be automatic in old versions of Acrobat. Now that I am using Acrobat X I cannot get the view I want.  In a 2-page view, how can I view a recto page on the right and a verso page on the left? Now all I get is a recto on the left and a ver

  • Intel iMacs and Bluetooth

    Did all Intel based iMacs ship with bluetooth?