ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitriy M. Maslennikov" <maslennikovdm@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] mpg123 Can't open /dev/dsp!
Date: Fri, 10 Apr 2009 09:37:06 +0400
Message-ID: <47c0071b0904092237r20d02677vf1429e9755f0f8a2@mail.gmail.com> (raw)
In-Reply-To: <91dc8dbf0904091052o409b9b9en315315bb0bb39cb5@mail.gmail.com>

9 апреля 2009 г. 21:52 пользователь Ilis <ilis.krou@gmail.com> написал:
> 2009/4/9 Константин Михайленко:
>>> Амарок выключал, и убивал оставшиеся после него процессы (кстати,
>>> откуда они берутся?) по kill -15
>>> Всё равно не играет
>>
>> Попробуй пристрелить Х-ы и после рестарта не пускать амарок вообще.
>> Если не будет звука, значит проблема в ином
>
> Перезапустил Х-ы. mpg123 стал играть. Запустил амарок, одновременно с
> ним не играет, закрыл амарок -- играет.
Вам надо настроить dmix в alsa. Пример моего ~/.asoundrc:
pcm.dmix51 {
    type dmix
    ipc_key 1024
    ipc_perm 0666
    slave {
        pcm hw
        rate 44100
        channels 6
        period_time = 0
        period_size = 1024
        buffer_time = 0
        buffer_size = 4096
    }
    bindings {
        0 0
        1 1
        2 2
        3 3
        4 4
        5 5
    }
}

pcm.!default {
    type plug
    slave {
        pcm dmix51
        channels 6
    }
    ttable {
        0.0 1
        1.1 1
        0.2 1
        1.3 1
        0.4 0.5
        1.4 0.5
        0.5 0.5
        1.5 0.5
    }
}


-- 
Dmitriy M. Maslennikov
rlz@etersoft.ru
rlz@altlinux.org
maslennikovdm@gmail.com
master@armory.ru

  reply	other threads:[~2009-04-10  5:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09  3:22 Ilis
2009-04-09  6:17 ` Alexey Borisenkov
2009-04-09 10:09   ` Ilis
2009-04-09 10:20     ` Константин Михайленко
2009-04-09 17:52       ` Ilis
2009-04-10  5:37         ` Dmitriy M. Maslennikov [this message]
2009-04-10  7:52           ` Ilis
2009-04-10  8:10             ` Dmitriy M. Maslennikov
2009-04-10  8:15               ` Andrey Rahmatullin
2009-04-09 10:32       ` Ilis
2009-04-09  9:26 ` Константин Михайленко

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47c0071b0904092237r20d02677vf1429e9755f0f8a2@mail.gmail.com \
    --to=maslennikovdm@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git