From: Artem <u2u@nm.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Re: доступ к alsa из-под разных пользователей
Date: Thu, 17 Nov 2005 16:07:01 +0200
Message-ID: <437C8E85.7060005@nm.ru> (raw)
In-Reply-To: <20051112180116.GA21405@procyon.home>
> On Sat, Nov 12, 2005 at 09:01:16PM +0300, Sergey Vlasov wrote:
>
>
>> Что-то там сломано - возможно, что и в самом dmix.
>
> Есть устойчивое подозрение, что там _много_ что сломано...
Что ж... В течение "послеобеда" удалось выяснить следующее:
1. поддержка паузы (ф-ция snd_pcm_pause() в alsa api, в dmix ее деяния
воплощаются посредством snd_pcm_dmix_pause, см
alsalib-x.x.x/src/pcm/pcm_dmix.c ) в dmix не реализована - там
"заглушка" в виде
static int snd_pcm_dmix_pause(snd_pcm_t *pcm ... бла-бла-бла
{
return -EIO;
}
также в pcm_direct.c
dmix->shmptr->s.info = spcm->info & ~SND_PCM_INFO_PAUSE;
что в итоге приводит к выдаче ф-цией snd_pcm_hw_params_can_pause()
FALSE - результата.
>> > P.P.S. Это только у меня в XMMS при выводе через dmix не
>> > работает "пауза"? Воспроизведение останавливается, но
>> > продолжить потом нельзя - нужно сначала композицию включать
>> > кнопкой play. При указании вывода напрямую в hw:0.0 - все
>> > работает.
....
>> Можно багу на того, кто предложил это по умолчанию?
2. А может - не надо? ;-)
Я вообще-то патч наваял.... Для xmms-output-alsa (thanks to MPlayer
sources) O:-)
Но он, наверное, никому не нужен .... O:-)
Rgds, Artem.
next prev parent reply other threads:[~2005-11-17 14:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-12 16:57 [sisyphus] " Artem
2005-11-12 17:08 ` Artem
2005-11-13 22:01 ` Artem
2005-11-13 22:04 ` Artem
2005-11-12 18:01 ` Sergey Vlasov
2005-11-12 18:28 ` Artem
2005-11-13 18:58 ` [sisyphus] " Michael Shigorin
2005-11-13 21:41 ` Artem
2005-11-17 14:07 ` Artem [this message]
2005-11-18 6:49 ` Anton Farygin
2005-11-18 12:02 ` [sisyphus] Re: ДПУФХР Л alsa ЙЪ-РПД ТБЪОЩИ РПМШЪПЧБФЕМЕК Artem
2005-11-18 15:32 ` [sisyphus] Re: доступ к alsa из-под разных пользователей Artem
2005-11-17 14:44 ` [sisyphus] xmms и dmix pause (was: доступ к alsa из-под разных пользователей) Artem
2005-11-24 12:44 ` [sisyphus] " Michael Shigorin
2005-11-24 22:33 ` [sisyphus] Re: xmms и dmix pause Artem
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=437C8E85.7060005@nm.ru \
--to=u2u@nm.ru \
--cc=shigorin@gmail.com \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git