Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Multi-user combi of arts, jackd, dmix ?!

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
JeroenV
Guru
Guru
User avatar
Posts: 447
Joined: Tue Jul 16, 2002 8:48 pm
Location: Amsterdam / Hamburg
Contact:
Contact JeroenV
Website

Multi-user combi of arts, jackd, dmix ?!

  • Quote

Post by JeroenV » Thu Jan 22, 2004 11:40 pm

Ok, I thought to be smart and get the best of 3 worlds:
1) use jackd for ardour (and possibly xmms through xmms-jack)
2) use dmix for desktop-sounds (licq)
3) use arts for my girlfriend's KDE session started from gdmflexi

The reason for wanting this is that it provides maximum flexibility without reconfiguring for any of the 3 uses.
I have an ens1371 card and 2.6.1-kernel alsa, which has 2 DACs, DAC1 (hw:0,0) and DAC2 (hw:0,1).

My idea is this setup:
1) run jackd on hw:0,0
2) define a dmix'ed alsa pcm slave that mixes everything directed to alsa device dmixed to hw:0,1
3) run artsd on the dmixed device
4) be able to use aplay -d dmixed (i.e. it is mixed together with the output of artsd)

So far I got everything working, except that artsd keeps silent, although the debug-output (artsplay -l0 ....) shows that everything should work fine.

This is my asound.conf

Code: Select all

pcm.dsp0 {
	type hw
	card 0
	device 0
}

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

pcm.dmixer  {
	type dmix
	ipc_key 1024
	ipc_key_add_uid true
	slave {
		pcm {
			type hw
			card 0
			device 1
		}
		period_time 0
		period_size 1024
		buffer_size 8192
		periods 128
		format S16_LE
		rate 44100
	}
	bindings {
		0 0
		1 1
	}
}

ctl.card0 {
	type hw
	card 0
}
Any ideas how to get artsd working :?:

Arternatively I was considering to define an alsa-plugin for jackd, as explained on http://www.alsa-project.org/alsa-doc/do ... le=ens1371
,but then I'd need to have the jackd sockets available to all users... Is there any way to achieve this :?:
Cheers 8)
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you!
Top
samppa
n00b
n00b
Posts: 69
Joined: Sat Jun 15, 2002 9:24 am
Location: Finland
Contact:
Contact samppa
Website

Hack to make artsd work with dmix

  • Quote

Post by samppa » Sat Jan 24, 2004 8:35 am

I was searching for info about making artsd work with dmix and found out this Alsa wiki page:

http://alsa.opensrc.org/index.php?page=DmixPlugin

On bottom half of the page there is a hack to make artsd work with dmix, but it looks too much a hack for my liking, so I haven't tried it yet. It would be nice to hear experiences from other people who tried it though.

According to kde developers chances to make artsd work with dmix are very small. It would be nice if kde could use dmix without running artsd at all, or if artsd had a passthrough feature so that it would just pass everything to alsa dmix plugin.

If someone gets artsd working with the dmix plugin, let us hear :D
Top
samppa
n00b
n00b
Posts: 69
Joined: Sat Jun 15, 2002 9:24 am
Location: Finland
Contact:
Contact samppa
Website

  • Quote

Post by samppa » Sat Jan 24, 2004 8:56 am

There is also a bug report of this problem of not being able to use dmix device for artsd:

http://bugs.kde.org/show_bug.cgi?id=70802

If you want to have this working, go show it your votes :)
Top
JeroenV
Guru
Guru
User avatar
Posts: 447
Joined: Tue Jul 16, 2002 8:48 pm
Location: Amsterdam / Hamburg
Contact:
Contact JeroenV
Website

  • Quote

Post by JeroenV » Sat Jan 24, 2004 12:00 pm

Thanks,

I voted for the bug indeed, I share your thoughts about the dirty hack too. My girlfriend is not so much in dire need for sound, and I myself don't use KDE anyway, so I'll leave it at that for now...
Cheers 8)
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you!
Top
Post Reply

4 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic