Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Forum di discussione italiano
  • Search

[RISOLTO] Alsa dmix

Tutte le discussioni direttamente correlabili all'informatica e/o a GNU/*nix.

Moderator: ago

Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
UnoSD
Apprentice
Apprentice
Posts: 273
Joined: Mon Jun 27, 2011 12:45 am

[RISOLTO] Alsa dmix

  • Quote

Post by UnoSD » Sat Jul 09, 2011 11:05 pm

Salve a tutti!

Ho creato il file .asoundrc per poter utilizzare asym di Alsa e registrare l'audio dal microfono integrato della webcam e riprodurlo dalla scheda integrata della scheda madre in questo modo:

Code: Select all

pcm.!default
{
        type asym
        playback.pcm
        {
                type plug
                slave.pcm "hw:0,0"
        }
        capture.pcm
        {
        type plug
        slave.pcm "hw:1,0"
        }         
}
Da quando però ho fatto questa modifica, Alsa non mi permette più la riproduzione di diversi flussi. (Se avvio Audacious in riproduzione, mplayer mi dice: "ALSA -> Device or resource busy")

Spero di poterlo chiedere qui anche se è più una domanda da forum di Alsa...

Dovrebbe riguardare l'utilizzo di dmix che gestisce i flussi multipli per singola scheda audio...

Grazie.
Last edited by UnoSD on Fri Jul 15, 2011 10:20 am, edited 1 time in total.
Top
UnoSD
Apprentice
Apprentice
Posts: 273
Joined: Mon Jun 27, 2011 12:45 am

  • Quote

Post by UnoSD » Fri Jul 15, 2011 10:20 am

Come si dice: Me la canto e me la suono da solo...

Code: Select all

pcm.!default
{
	type asym
	playback.pcm
	{
		type plug
#		slave.pcm "hw:0,0"
		slave.pcm "swmixer"
	}
	capture.pcm
	{
	type plug
	slave.pcm "hw:1,0"
	}
}

pcm.swmixer
{
	type dmix
	ipc_key 1234
	slave
	{
		pcm "hw:0,0"
		period_time 0
		period_size 1024
		buffer_size 4096
		rate 44100
	}
}
Top
Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Forum di discussione italiano”

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