Problèmes et questions sur les applications multimédia.
Répondre

Pavucontrol en ligne de commande

#1Messageil y a 9 ans

Bonjour,

Quand je connecte mon module bluetooth, je dois systématiquement changer manuellement la sortie de mes hauts parleurs pour passer sur le module.
Y a t'il une ligne de commande que je puisse intégrer dans mon script afin de passer par défaut le module bluetooth sans me le taper à la main (via pavucontrol en graphique)? :sos:

Merci et bonne aprèm
Dernière modification par LepgMoiil y a 9 ans, modifié au total 1 fois.

Pavucontrol en ligne de commande

#2Messageil y a 9 ans

En général ,ce genre de script peuvent se mettre dans /etc/rc.local .C'est réservé au configurations locales ,mais je ne garanti rien....Au pire ,il ne se passe rien.
Edit: il y a une commande pacmd qui gère pulseaudio en Cli

man pacmd
pacmd(1)                                                  General Commands Manual                                                 pacmd(1)

NAME
       pacmd - Reconfigure a PulseAudio sound server during runtime

SYNOPSIS
       pacmd

       pacmd --help

       pacmd --version

DESCRIPTION
       This  tool  can  be  used  to  introspect or reconfigure a running PulseAudio sound server during runtime. It connects to the sound
       server and offers a simple live shell that can be used to enter the  commands  also  understood  in  the  default.pa  configuration
       scripts.

       To  exit  the live shell, use ctrl+d. Note that the 'exit' command inside the shell will tell the PulseAudio daemon itself to shut‐
       down!

       If any arguments are passed on the command line, they will be passed into the live shell which will process the command and exit.

OPTIONS
       -h | --help
              Show help.

       --version
              Show version information.

AUTHORS
       The PulseAudio Developers <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org>; PulseAudio is available from http://pulseau‐
       dio.org/

SEE ALSO
       pulse-cli-syntax(5), pulseaudio(1), pactl(1), default.pa(5)

Manuals                                                            User                                                           pacmd(1)
 Manual page pacmd(1) line 1/41 (END) (press h for help or q to quit)


Je te laisse découvrir :clindoeil:

Pavucontrol en ligne de commande

#3Messageil y a 9 ans

Pavucontrol en ligne de commande

#4Messageil y a 9 ans

Est ce que quelqu'un sait si avec le SDK Apple on peut faire des applis en mode ligne de commande qui tourneraient dans MobileTerminal et donc sans interface CocoaTouch ?
Répondre