ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Gorbachenko <agent_007@immo.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] alsa,oss,arts,gstreamer,jack
Date: Tue, 16 Jan 2007 17:54:43 +0300
Message-ID: <20070116175443.69a997ea@satellit.immo> (raw)
In-Reply-To: <200701161540.09320.anyr@tut.by>

[-- Attachment #1: Type: text/plain, Size: 1727 bytes --]

On Tue, 16 Jan 2007 15:40:08 +0200
Юрковский wrote:

>Периодически как-либо обрабатываю. Хотелось бы иметь 
>возможность вести запись/проигрывание нескольких треком 
>одновременно часть из которых wav а часть - midi. 

тогда нужно иметь $HOME/.asoundrc приблизительно следующего содержания:

# Jack settings.
pcm.jack {
     type jack
     playback_ports {
         0 alsa_pcm:playback_1
         1 alsa_pcm:playback_2
     }
     capture_ports {
         0 alsa_pcm:capture_1
         1 alsa_pcm:pcapture_2
     }
}

# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.snd_card {
     type hw
     card 0
     device 0
}

# Allow reading from the default device.
# Also known as record or capture.
pcm.input {
     type dsnoop
     ipc_key 2048
     ipc_perm 0660 # Sound for everybody in your group!
     slave.pcm "snd_card"

## Possible artsd full duplex fix:
#     slave {
#          period_time 0
#          period_size 1024
#          buffer_size 8192
#     }

     bindings {
          0 0
          1 1
     }
}

pcm.duplex {
     type asym
     playback.pcm "jack"
     capture.pcm "input"
}

pcm.!default {
     type plug
     slave.pcm "duplex"
}

# OSS dsp0 device (OSS needs only output support, duplex will break
some stuff) 

pcm.dsp0 {
     type plug
     slave.pcm "output"
}

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

вуаля. все, кто умеют jack отдают звук на jack. кто не умеют, отдают
туда же, но другим путём :) capture.pcm, видимо, тоже должен быть
"jack".

-- 
np: Black Stone Cherry - Maybe Someday

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-01-16 14:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11 10:06 Юрковский Андрей
2007-01-12  9:02 ` Хихин Руслан
2007-01-12 14:29   ` Alex Gorbachenko
2007-01-12 15:04     ` Denis G. Samsonenko
2007-01-12 21:59     ` Юрковский Андрей
2007-01-16  7:46       ` Alex Gorbachenko
2007-01-16 10:38         ` Юрковский Андрей
2007-01-16 11:11           ` Alex Gorbachenko
2007-01-16 13:40             ` Юрковский Андрей
2007-01-16 14:54               ` Alex Gorbachenko [this message]
2007-01-16 15:39                 ` Юрковский Андрей
2007-01-29 19:12                 ` Vyatcheslav Perevalov
2007-01-30 13:07                   ` Alex Gorbachenko
2007-06-03 14:57     ` [Comm] LiveCD (20070529) Kosserior
2007-06-03 15:32       ` Хихин Руслан
2007-06-03 17:26         ` Kosserior
2007-06-03 18:16           ` Хихин Руслан
2007-06-04  4:58             ` Kosserior
2007-06-04  7:43               ` Хихин Руслан

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=20070116175443.69a997ea@satellit.immo \
    --to=agent_007@immo.ru \
    --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