Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with alsa-1.0.9_rc2 and .asoundrc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Mustaavalkosta
n00b
n00b


Joined: 28 Feb 2005
Posts: 23
Location: Finland

PostPosted: Thu Mar 31, 2005 12:35 pm    Post subject: Problems with alsa-1.0.9_rc2 and .asoundrc Reply with quote

I've some kind of problem with 1.0.9_rc2. I updated my 1.0.8 to that version and after update my sound was gone. Any player won't play anything and alsamixer gives me this:
Code:
niko@gentoo ~ $ alsamixer
ALSA lib conf.c:1165:(parse_def) dmix is not a compound
ALSA lib conf.c:1578:(snd_config_load1) _toplevel_:9:10:Invalid argument
ALSA lib conf.c:2821:(snd_config_hook_load) /home/niko/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2684:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3050:(snd_config_update_r) hooks failed, removing configuration

alsamixer: function snd_ctl_open failed for default: Invalid argument


I tried to search for solution from here and google, but I found nothing. So what's wrong? I've done my configs etc. just like http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix told me to do and those worked fine with the earlier versions. I want my sound back! :evil:


ps. Sorry if this is the wrong place for this...

edit: Here is my .asoundrc.
Code:
# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.snd_card {
     type hw
     card 0
}

# Allow mixing of multiple output streams to this device
pcm.dmix {
     type dmix
     ipc_key 1024
     slave.pcm "snd_card"
     slave {
          # This stuff provides some fixes for latency issues.
          # buffer_size should be set for your audio chipset.
          period_time 0
          period_size 1024
          buffer_size 8192
     }

     bindings {
          0 0
          1 1
     }                         
}                               
                               
# Allow reading from the default device.
# Also known as record or capture.
pcm.dsnoop {                   
     type dsnoop               
     ipc_key 2048               
     slave.pcm "snd_card"       
                               
## Possible artsd full duplex fix:
#     slave {                   
#          period_time 0       
#          period_size 1024     
#          buffer_size 8192     
#     }                         
                               
     bindings {                 
          0 0                   
          1 1                   
     }                         
}                               
                               
# This is what we want as our default device
# a fully duplex (read/write) audio device.
pcm.duplex {                   
     type asym                 
     playback.pcm "dmix"       
     capture.pcm "dsnoop"       
}                               
                               
###################             
# CONVERSION PLUG #             
###################             
# Setting the default pcm device allows the conversion
# rate to be selected on the fly.
# duplex mode allows any alsa enabled app to read/write
# to the dmix plug (Fixes a problem with wine).
pcm.!default {                 
     type plug                 
     slave.pcm "duplex"
}

# Apparently this is wrong (breaks mplayer for me opening the device)
#ctl.!default {
#     type plug
#     slave.pcm "snd_card"
#}

########
# AOSS #
########
# OSS dsp0 device
pcm.dsp0 {
     type plug
     slave.pcm "duplex"
}

# OSS control for dsp0 (needed?...this might not be useful)
ctl.dsp0 {
     type plug
     slave.pcm "snd_card"
}

# OSS control for dsp0 (default old OSS is mixer0)
ctl.mixer0 {
     type plug
     slave.pcm "snd_card"
}

_________________
Gentoo 2006.1 / kernel 2.6.18-gentoo


Last edited by Mustaavalkosta on Thu Mar 31, 2005 1:09 pm; edited 2 times in total
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Mar 31, 2005 12:44 pm    Post subject: Reply with quote

Mustaavalkosta wrote:
ps. Sorry if this is the wrong place for this...

It's probably best to give it its own topic. Split from https://forums.gentoo.org/viewtopic-t-313030.html
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Mustaavalkosta
n00b
n00b


Joined: 28 Feb 2005
Posts: 23
Location: Finland

PostPosted: Thu Mar 31, 2005 12:54 pm    Post subject: Reply with quote

Maedhros wrote:
Mustaavalkosta wrote:
ps. Sorry if this is the wrong place for this...

It's probably best to give it its own topic. Split from https://forums.gentoo.org/viewtopic-t-313030.html

Roger that. I'm still getting used to this forum's customs. :)
_________________
Gentoo 2006.1 / kernel 2.6.18-gentoo
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Thu Mar 31, 2005 1:59 pm    Post subject: Reply with quote

There's a thread warning of alsa-lib and alsa-header versions 1.0.9..
https://forums.gentoo.org/viewtopic-t-316646-highlight-warning.html
mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
Mustaavalkosta
n00b
n00b


Joined: 28 Feb 2005
Posts: 23
Location: Finland

PostPosted: Thu Mar 31, 2005 2:08 pm    Post subject: Reply with quote

Cintra wrote:
There's a thread warning of alsa-lib and alsa-header versions 1.0.9..
https://forums.gentoo.org/viewtopic-t-316646-highlight-warning.html
mvh

So it wasn't my configs which sucks. I masked those buggy versions and emerged versions 1.0.8. Works fine again...
_________________
Gentoo 2006.1 / kernel 2.6.18-gentoo
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Mar 31, 2005 2:28 pm    Post subject: Reply with quote

Cintra wrote:
There's a thread warning of alsa-lib and alsa-header versions 1.0.9..
https://forums.gentoo.org/viewtopic-t-316646-highlight-warning.html

In that case, moved to Dupes. :)
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum