Chargement...
 
[Voir/Cacher menus de gauche]
[Voir/Cacher menus de droite]

5 - Les serveurs son : Jack, PulseAudio et autres...

> Forums de discussion > 5 - Les serveurs son : Jack, PulseAudio et autres... > Capture only, playback only ou "capture & playback"
Dernier post

Capture only, playback only ou "capture & playback"

eleandar utilisateur non connecté France
Salut,

Est-ce qu'il existe une ligne de commande permettant de déterminer si mes cartes son sont capture only, playback only ou les deux ?

Peut-être en utilisant pulseaudio ou alsa ? J'ai trouvé pacmd mais je n'arrive pas à faire le tri dans les informations affichées pour savoir à coup sûr et sur mes différentes cartes son leur caractéristiques !

Voilà les résultats que j'aimerai retrouvé:
C-Média USB : Capture Only / Câble Jack vers Usb
HDA Intel : Les deux / Carte son interne PCI
USB Audio Codec : Les deux / Carte externe Berhinger UCA202
HX Stomp : Les deux / PedalBoard HXStomp Line6

Merci d'avance,
Laurent

4 card(s) available.
    index: 2
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 9
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xdf220000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d70"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Entrée Stéréo analogique (priority 65, available: unknown)
		output:analog-stereo: Sortie Stéréo analogique (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (priority 6565, available: unknown)
		output:hdmi-stereo: Sortie Digital Stereo (HDMI) (priority 5900, available: no)
		output:hdmi-stereo+input:analog-stereo: Sortie Digital Stereo (HDMI) + Entrée Stéréo analogique (priority 5965, available: no)
		output:hdmi-surround: Sortie Digital Surround 5.1 (HDMI) (priority 800, available: no)
		output:hdmi-surround+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI) + Entrée Stéréo analogique (priority 865, available: no)
		output:hdmi-surround71: Sortie Digital Surround 7.1 (HDMI) (priority 800, available: no)
		output:hdmi-surround71+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI) + Entrée Stéréo analogique (priority 865, available: no)
		output:hdmi-stereo-extra1: Sortie Digital Stereo (HDMI 2) (priority 5700, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Sortie Digital Stereo (HDMI 2) + Entrée Stéréo analogique (priority 5765, available: no)
		output:hdmi-surround-extra1: Sortie Digital Surround 5.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 2) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-surround71-extra1: Sortie Digital Surround 7.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 2) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-stereo-extra2: Sortie Digital Stereo (HDMI 3) (priority 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Sortie Digital Stereo (HDMI 3) + Entrée Stéréo analogique (priority 5765, available: no)
		output:hdmi-surround-extra2: Sortie Digital Surround 5.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 3) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-surround71-extra2: Sortie Digital Surround 7.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 3) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-stereo-extra3: Sortie Digital Stereo (HDMI 4) (priority 5700, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Sortie Digital Stereo (HDMI 4) + Entrée Stéréo analogique (priority 5765, available: no)
		output:hdmi-surround-extra3: Sortie Digital Surround 5.1 (HDMI 4) (priority 600, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 4) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-surround71-extra3: Sortie Digital Surround 7.1 (HDMI 4) (priority 600, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 4) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-stereo-extra4: Sortie Digital Stereo (HDMI 5) (priority 5700, available: no)
		output:hdmi-stereo-extra4+input:analog-stereo: Sortie Digital Stereo (HDMI 5) + Entrée Stéréo analogique (priority 5765, available: no)
		output:hdmi-surround-extra4: Sortie Digital Surround 5.1 (HDMI 5) (priority 600, available: no)
		output:hdmi-surround-extra4+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 5) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-surround71-extra4: Sortie Digital Surround 7.1 (HDMI 5) (priority 600, available: no)
		output:hdmi-surround71-extra4+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 5) + Entrée Stéréo analogique (priority 665, available: no)
		off: Éteint (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1f.3.analog-stereo/#2: Audio interne Stéréo analogique
	sources:
		alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#4: Monitor of Audio interne Stéréo analogique
		alsa_input.pci-0000_00_1f.3.analog-stereo/#5: Audio interne Stéréo analogique
	ports:
		analog-input-internal-mic: Microphone interne (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Haut-parleurs (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Casque audio (priority 9900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 3
	name: <alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00>
	driver: <module-alsa-card.c>
	owner module: 28
	properties:
		alsa.card = "1"
		alsa.card_name = "USB Audio CODEC"
		alsa.long_card_name = "Burr-Brown from TI USB Audio CODEC at usb-0000:00:14.0-7, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:7:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/sound/card1"
		udev.id = "usb-Burr-Brown_from_TI_USB_Audio_CODEC-00"
		device.bus = "usb"
		device.vendor.id = "08bb"
		device.vendor.name = "Texas Instruments"
		device.product.id = "2902"
		device.product.name = "PCM2902 Audio Codec"
		device.serial = "Burr-Brown_from_TI_USB_Audio_CODEC"
		device.string = "1"
		device.description = "PCM2902 Audio Codec"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:analog-stereo: Entrée Stéréo analogique (priority 65, available: unknown)
		input:iec958-stereo: Entrée Stéréo numérique (IEC958) (priority 55, available: unknown)
		output:analog-stereo: Sortie Stéréo analogique (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (priority 6565, available: unknown)
		output:analog-stereo+input:iec958-stereo: Sortie Stéréo analogique + Entrée Stéréo numérique (IEC958) (priority 6555, available: unknown)
		output:iec958-stereo: Sortie Stéréo numérique (IEC958) (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Sortie Stéréo numérique (IEC958) + Entrée Stéréo analogique (priority 5565, available: unknown)
		output:iec958-stereo+input:iec958-stereo: Duplex stéréo numérique (IEC958) (priority 5555, available: unknown)
		off: Éteint (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo/#3: PCM2902 Audio Codec Stéréo analogique
	sources:
		alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor/#6: Monitor of PCM2902 Audio Codec Stéréo analogique
		alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo/#7: PCM2902 Audio Codec Stéréo analogique
	ports:
		analog-input: Entrée analogique (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				
		iec958-stereo-input: Entrée numérique (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		analog-output: Sortie analogique (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
		iec958-stereo-output: Sortie numérique (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
    index: 4
	name: <alsa_card.usb-LINE_6_HX_Stomp_3013138-01>
	driver: <module-alsa-card.c>
	owner module: 29
	properties:
		alsa.card = "2"
		alsa.card_name = "HX Stomp"
		alsa.long_card_name = "LINE 6 HX Stomp at usb-0000:00:14.0-3, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:3:1.1"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/sound/card2"
		udev.id = "usb-LINE_6_HX_Stomp_3013138-01"
		device.bus = "usb"
		device.vendor.id = "0e41"
		device.vendor.name = "Line6, Inc."
		device.product.id = "4246"
		device.product.name = "HX Stomp"
		device.serial = "LINE_6_HX_Stomp_3013138"
		device.string = "2"
		device.description = "HX Stomp"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:multichannel-input: Entrée Multicanal (priority 1, available: unknown)
		output:analog-surround-71: Sortie Analog Surround 7.1 (priority 1200, available: unknown)
		output:analog-surround-71+input:multichannel-input: Sortie Analog Surround 7.1 + Entrée Multicanal (priority 1201, available: unknown)
		off: Éteint (priority 0, available: unknown)
	active profile: <output:analog-surround-71+input:multichannel-input>
	sinks:
		alsa_output.usb-LINE_6_HX_Stomp_3013138-01.analog-surround-71/#4: HX Stomp Analog Surround 7.1
	sources:
		alsa_output.usb-LINE_6_HX_Stomp_3013138-01.analog-surround-71.monitor/#8: Monitor of HX Stomp Analog Surround 7.1
		alsa_input.usb-LINE_6_HX_Stomp_3013138-01.multichannel-input/#9: HX Stomp Multicanal
	ports:
		multichannel-input: Entrée multicanal (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		analog-output: Sortie analogique (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
    index: 5
	name: <alsa_card.usb-0d8c_C-Media_USB_Audio_Device-00>
	driver: <module-alsa-card.c>
	owner module: 30
	properties:
		alsa.card = "3"
		alsa.card_name = "C-Media USB Audio Device"
		alsa.long_card_name = "C-Media USB Audio Device at usb-0000:00:14.0-8, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:8:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/sound/card3"
		udev.id = "usb-0d8c_C-Media_USB_Audio_Device-00"
		device.bus = "usb"
		device.vendor.id = "0d8c"
		device.vendor.name = "C-Media Electronics, Inc."
		device.product.id = "0008"
		device.product.name = "C-Media USB Audio Device   "
		device.serial = "0d8c_C-Media_USB_Audio_Device"
		device.string = "3"
		device.description = "C-Media USB Audio Device   "
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:mono-fallback: Entrée Mono (priority 1, available: unknown)
		input:multichannel-input: Entrée Multicanal (priority 1, available: unknown)
		output:analog-stereo: Sortie Stéréo analogique (priority 6500, available: unknown)
		output:analog-stereo+input:mono-fallback: Sortie Stéréo analogique + Entrée Mono (priority 6501, available: unknown)
		output:analog-stereo+input:multichannel-input: Sortie Stéréo analogique + Entrée Multicanal (priority 6501, available: unknown)
		output:iec958-stereo: Sortie Stéréo numérique (IEC958) (priority 5500, available: unknown)
		output:iec958-stereo+input:mono-fallback: Sortie Stéréo numérique (IEC958) + Entrée Mono (priority 5501, available: unknown)
		output:iec958-stereo+input:multichannel-input: Sortie Stéréo numérique (IEC958) + Entrée Multicanal (priority 5501, available: unknown)
		off: Éteint (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:mono-fallback>
	sinks:
		alsa_output.usb-0d8c_C-Media_USB_Audio_Device-00.analog-stereo/#5: C-Media USB Audio Device    Stéréo analogique
	sources:
		alsa_output.usb-0d8c_C-Media_USB_Audio_Device-00.analog-stereo.monitor/#10: Monitor of C-Media USB Audio Device    Stéréo analogique
		alsa_input.usb-0d8c_C-Media_USB_Audio_Device-00.mono-fallback/#11: C-Media USB Audio Device    Mono
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		multichannel-input: Entrée multicanal (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		analog-output: Sortie analogique (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
		iec958-stereo-output: Sortie numérique (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:


olinuxx utilisateur non connecté France
Quelle distribution ?

eleandar utilisateur non connecté France
Ubuntu Studio 19.10

eleandar utilisateur non connecté France
Il semble que le driver alsa crée une sortie stéréo pour la carte C-Media ... J'imagine que c'est pour monitorer le signal mono ...

Ça marche très bien dans Jack ... Je branche la C-Media et j'écoute ce qui est capturé par la C-Media sur la HDA Intel.

Est-ce que la mention mono-fallback serait d'une utilité pour savoir si c'est capture only ?

Avec cette ligne de commande, on y voit mieux (tout du moins j'espère):

pacmd list-cards | grep -v -i -E "unknown|available: no" \
    | grep -i -E "alsa.card_name|alsa.card = |output|input"


alsa.card = "1"
		alsa.card_name = "USB Audio CODEC"
	active profile: <output:analog-stereo+input:analog-stereo>
		alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo/#0: PCM2902 Audio Codec Stéréo analogique
		alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor/#0: Monitor of PCM2902 Audio Codec Stéréo analogique
		alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo/#1: PCM2902 Audio Codec Stéréo analogique
		alsa.card = "0"
		alsa.card_name = "C-Media USB Audio Device"
	active profile: <output:analog-stereo+input:mono-fallback>
		alsa_output.usb-0d8c_C-Media_USB_Audio_Device-00.analog-stereo/#1: C-Media USB Audio Device    Stéréo analogique
		alsa_output.usb-0d8c_C-Media_USB_Audio_Device-00.analog-stereo.monitor/#2: Monitor of C-Media USB Audio Device    Stéréo analogique
		alsa_input.usb-0d8c_C-Media_USB_Audio_Device-00.mono-fallback/#3: C-Media USB Audio Device    Mono
				device.icon_name = "audio-input-microphone"
		alsa.card = "2"
		alsa.card_name = "HDA Intel PCH"
	active profile: <output:analog-stereo+input:analog-stereo>
		alsa_output.pci-0000_00_1f.3.analog-stereo/#2: Audio interne Stéréo analogique
		alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#4: Monitor of Audio interne Stéréo analogique
		alsa_input.pci-0000_00_1f.3.analog-stereo/#5: Audio interne Stéréo analogique
				device.icon_name = "audio-input-microphone"
				device.icon_name = "audio-input-microphone"
		analog-output-headphones: Casque audio (priority 9900, latency offset 0 usec, available: yes)
		alsa.card = "3"
		alsa.card_name = "HX Stomp"
	active profile: <output:analog-surround-71+input:multichannel-input>
		alsa_output.usb-LINE_6_HX_Stomp_3013138-01.analog-surround-71/#3: HX Stomp Analog Surround 7.1
		alsa_output.usb-LINE_6_HX_Stomp_3013138-01.analog-surround-71.monitor/#6: Monitor of HX Stomp Analog Surround 7.1
		alsa_input.usb-LINE_6_HX_Stomp_3013138-01.multichannel-input/#7: HX Stomp Multicanal


Afficher les articles :
Aller au forum :

Documentation [Afficher / Cacher]

Faire un don
[Afficher / Cacher]

Connexion
[Afficher / Cacher]



Mégaphone [Afficher / Cacher]

olinuxx, 10:36, sam. 27 Nov 2021: Bonjour et bienvenue à Zebolt cool
olinuxx, 12:26, sam. 20 Nov 2021: @Lynx26, si tu lis ce message, viens me parler sur IRC [Lien] ou par courriel [Lien]
olinuxx, 12:01, sam. 20 Nov 2021: Bonjour et bienvenue à Badin cool
sub26nico, 00:13, ven. 19 Nov 2021: Salut et bienvenue à Christophe543 et Jakintza :-)
olinuxx, 21:07, dim. 14 Nov 2021: Bonjour et bienvenue à zoso85, Pomme, et Mars71 cool
olinuxx, 13:19, ven. 12 Nov 2021: @tnio : utilise les forums s
tnio, 13:12, ven. 12 Nov 2021: bonjour j'essaie de faire fonctionner une live track L8 de zoom mais apparement je ne trouve pas comment j'ai regardé les post concernant les L12 mais j'aimerais avoir plus d'infos merci
jazzloup, 15:20, jeu. 11 Nov 2021: Bonjour, Merci de votre message de bienvenue. A suivre, ma présentation. A bientôt
olinuxx, 13:42, jeu. 11 Nov 2021: Bonjour et bienvenue à jazzloup cool
SuShY, 22:11, mar. 09 Nov 2021: Merci sub26nico ;-)
sub26nico, 23:24, lun. 08 Nov 2021: Bonjour et bienvenue à SuShY :-)
CyrilRos, 18:01, dim. 07 Nov 2021: Elle est sortie !!!!!!! profitez dès maintenant de votre Nouvelle Tux|N|Mix [Lien]