Categories
Bits & Bytes

Audio Streaming per Bluetooth (A2DP)

Nach einem Neustart sollte der Daemon nun erfolgreich starten, anschließend kann man das Smartphone gewöhnlich paaren (vgl: Bluetooth Pairing) das läßt sich bequem per Gnome GUI machen oder per bluetoothctl Kommando:

Me@myHost:~$ sudo bluetoothctl 
[NEW] Controller 00:02:72:35:88:00 myHost [default]
[NEW] Device 00:2D:33:6F:23:12 Samsung
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# scan on
[bluetooth]# pair 00:2D:33:6F:23:12
[bluetooth]# connect 00:2D:33:6F:23:12
[bluetooth]# trust 00:2D:33:6F:23:12

Die trust Zeile ist wichtig damit dem BT-Endgerät vertaut wird ansonsten lehnt das Bluetooth Modul die Kommunikation ab.
Anschließend sollte man sicherstellen dass das module-bluetooth-discover von PulseAudio Daemon geladen wird. Bei Debian Jessie ist das in der Standartkonfiguration i.d.R. der Fall ansonsten besagtes Modul in /etc/pulse/default.pa aktivieren. Stellt man nun eine Bluetooth-Verbindung her und aktiviert einen beliebigen Player sollte man Musik über die Boxen des PC’s hören. Schade finde ich dass hier bisher keine Out-of-The-Box Funktionalität angeboten wird, es wäre schön wenn das ohne Bash Kung-Fu ginge.

Quelle: https://wiki.archlinux.org/index.php/Bluetooth_headset

By вяоӣсо

I'm a computer kid of the 80', not born but raised in good old' germany, playin' games, makin' music & lovin' the blues. My career started at an age of 10 in a shopping mall where they sold computers too. It was the first time ever i've seen such an electronic monster and was fascinated instantly.
Later on i've learned my first programming skills (Basic) with a friend's Sinclair ZX 81. Yes, that one with the strange plastics keyboard. After that i got some experience with a Schneider CPC464 and the Commodore C64 until i fell in love with the Commodore Amiga, a machine with 4096 different colors which sounds nowadays to most like black'n'white tv's sounded to me at that time.
We played a lot of games like Decathlon, The Last V8, Impossible Mission, Elite, Mega'lo'Mania, Xenon, Speedball or Chaos Engine and ruined a lot of those Competition Pro Joysticks. My favourites were mostly games by Sensible Software, Bitmap Brothers or Rainbow Arts.
What i liked the most about that machine was it's AmigaOS, it's operating system was ahead of it's time. On this machine i learned my first assembler language (m68k) and the hardware internas.
I watched the decline of Commodore with a tear in my eye and at some point i went over to usual business and my first PC and learned it's beastly manners.

Leave a Reply