Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Can't understand "aplay -l". What is my device actually called?
New Posts  All Forums:Forum Nav:

Can't understand "aplay -l". What is my device actually called?

post #1 of 3
Thread Starter 
Noob alert.
Here's the output:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I can't play analog audio through a coaxial cable in XBMC.
Here's what I'm suppose to do:
Open ~/.asoundrc in a text editor and add the following:
make sure to use the correct card/device id and replace 'pcm "hw:0,1"' with it.
Code:
pcm.dmixer {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,1"
        period_time 0
        period_size 1024
        buffer_size 8192
        #periods 128
        #rate 44100
        rate 48000
     }
     bindings {
        0 0
        1 1
     }
}

Ok, I'm confused by my aplay output and not actually sure what to replace hw:0,1 with. I've tried a number of guesses but fail every time.

Little help would be nice as I've looked a fair bit on google and everyone seems to have a fix yet none of them have worked for me.

Thanks
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
post #2 of 3
You don't need all that info, all you need to assign is the card and device to the pcm.!default (not dmixer).
Code:
pcm.!default {
    type hw
    card 0
    device 1
}
ctl.!default {
    type hw
    card 0
    device 1
}
or (unsure)
Code:
pcm.card0 {
    type hw
    card 0
    device 1
}
ctl.card0 {
    type hw
    card 0
    device 1
}

[edit]
Code:
**** List of PLAYBACK Hardware Devices ****
[B]card 0[/B]: NVidia [HDA NVidia], [B]device 0[/B]: AD198x Analog [AD198x Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
[B]card 0[/B]: NVidia [HDA NVidia], [B]device 1[/B]: AD198x Digital [AD198x Digital]
  Subdevices: 1/1

Its all labeled for ya. =P
Subdevice #0: subdevice #0
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #3 of 3
Thread Starter 
Damn. I can't get any analog audio at all. No system sounds or mp3s and thats in and out of xbmc.

Nothing.

At this a day in a half and just can't get it goin.

EDIT: Ok, found yet ANOTHER guide. It simply asked me to uninstall then reinstall ALSA. That actually seems to have worked. I haven't tested everything yet but at least mp3s are playing now both in and out of XBMC which I think is a good sign. I feel it might be the fact that I installed ubuntu and then XBMC right away without testing audio in between. Maybe when I installed XBMC, it edited something assuming I already had audio configured on the system? Who knows, but it seems to be working now.

Next step, to find a way to run XBMC without it grabbing the mouse. I have dual monitors and would like to be able to navigate the other x while XBMC is running.

EDIT 2: I spoke too soon. Now it seems I have the opposite problem. Only analog works now and files with true digital audio are not initializing. *** did I do lol
Edited by Damarious25 - 5/19/11 at 4:27pm
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Can't understand "aplay -l". What is my device actually called?