A2dp sink bluetooth для windows 7

Содержание
  1. Enable and Use A2DP Sink for Bluetooth in Windows 10
  2. To Enable and Use A2DP Sink for Bluetooth in Windows 10,
  3. About Sergey Tkachenko
  4. 4 thoughts on “ Enable and Use A2DP Sink for Bluetooth in Windows 10 ”
  5. Windows 10 gets Bluetooth A2DP sink feature: Here’s how to use it
  6. How to stream phone music to your PC speakers
  7. Requirements
  8. Pairing
  9. Configuring
  10. Compatible devices
  11. Troubleshooting
  12. Refused to switch profile to a2dp_sink: Not connected
  13. Workaround 1: disable pulseaudio in gdm
  14. Workaround 2: disable pulseaudio’s bluetooth in gdm
  15. Solution
  16. Unable to control volume with volumeicon-alsa
  17. Workaround 1: restart volumeicon
  18. Workaround 2: adjust pulseaudio configuration to switch on connect
  19. a2dp-sink profile connect failed [. ]: Protocol not available
  20. aptX (HD) and LDAC codecs are not available to be used with my device
  21. joergschiller / a2dp_sink_ubuntu_linux.md
  22. This comment has been minimized.
  23. Marneus68 commented Jan 29, 2013
  24. This comment has been minimized.
  25. domenpk commented Mar 21, 2013
  26. This comment has been minimized.
  27. dghodgson commented Jan 13, 2014 •
  28. This comment has been minimized.
  29. dghodgson commented Feb 3, 2014
  30. This comment has been minimized.
  31. H7O commented Apr 18, 2014
  32. This comment has been minimized.
  33. boulund commented Oct 12, 2014
  34. This comment has been minimized.
  35. murwiz commented Nov 10, 2014
  36. This comment has been minimized.
  37. progmars commented Mar 20, 2016
  38. This comment has been minimized.
  39. csvan commented Dec 6, 2016
  40. This comment has been minimized.
  41. fregmented commented Dec 13, 2016
  42. This comment has been minimized.
  43. abstatic commented Dec 14, 2017
  44. This comment has been minimized.
  45. axe312ger commented Dec 30, 2017
  46. This comment has been minimized.
  47. aracrypto commented Feb 16, 2018
  48. This comment has been minimized.
  49. sonvirgo commented Feb 27, 2018 •
  50. This comment has been minimized.
  51. ShonkyCH commented Mar 12, 2018 •

Enable and Use A2DP Sink for Bluetooth in Windows 10

How to Enable and Use A2DP Sink for Bluetooth in Windows 10

With Windows 10 version 2004, Microsoft has restored the A2DP Sink for Bluetooth in Windows 10. It was removed in Windows 8, making Windows 7 the last OS version with A2DP Sink support. Now, things has changed, and it is finally possible to use A2DP for Bluetooth in Windows 10.

In Windows 7 pre-release versions, A2DP source and sink roles were supported natively but this was dropped in the final RTM release version. In the release version of Windows 7, your PC could connect to Bluetooth speakers (act as A2DP source) but additionally, drivers could enable the audio device to work as A2DP sink if supported by the audio hardware vendor.

Starting from Windows 8, the A2DP Sink role is not supported by Microsoft, nor by third party drivers. Microsoft provides native support for Bluetooth audio streaming as A2DP source only.

In Windows 10 versions released before Windows 10 May 2020 Update, Microsoft had implemented support for the A2DP source role, but not for the SINK role for desktop editions. This means you could use Intel Bluetooth on Windows 10 to send audio to other Bluetooth devices, such as a speaker, but you wasn’t be able to receive audio from other Bluetooth devices via A2DP.

Starting in Windows 10 version 2004, Microsoft has re-added the SINK role to Windows 10 for upcoming versions of the OS. However, to use the feature, you need to install a third party app, as the OS lacks the user interface to activate the SINK role.

To Enable and Use A2DP Sink for Bluetooth in Windows 10,

You are done. This way, you can use your PC or laptop for casting an audio stream from any Bluetooth source that supports A2DP.

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

Читайте также:  Windows macbook fan control

About Sergey Tkachenko

Sergey Tkachenko is a software developer from Russia who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

4 thoughts on “ Enable and Use A2DP Sink for Bluetooth in Windows 10 ”

This does not work.

In which Windows version and edition?

Thank You so much!!
It works fine to me

If it’s not working in Android Phone Turn off Developer option.

Doesn’t work. Windows 10 Pro 20H2, build 19042.804.

Bluetooth connects to phone fine, shows connection on both this app and Windows “Your Phone” app. Audio will run on phone, but no sound output through PC.

Источник

Windows 10 gets Bluetooth A2DP sink feature: Here’s how to use it

Starting with Windows 10 May 2020 Update, the ability to stream music from your phone to your PC’s speakers is once again available. If you’ve already upgraded to Windows 10 version 2004, you can now stream music from your Android, iPhone and feature phone to your PC via Bluetooth.

In other words, you can pair your mobile device to the PC wirelessly with Bluetooth and then stream music. There are no limitations and you can also stream audio playing within Chrome, YouTube, or built-in music player on your desktop or laptop’s audio point such as the speakers and wired headphones.

The feature uses Bluetooth A2DP Sink, which was previously present on Windows 7 in the Control Panel and third-party apps. As Intel confirmed, Bluetooth A2DP sink was left behind when Windows 8 was released to mainstream users.

November 2019 Update (version 1909) or older versions are also limited to A2DP source role, which only works the other way around. The ‘sink’ role, which enables the ability to stream music from your mobile device to your PC speaker, is not available.

Last month, Microsoft penned a document that confirmed Windows 10 version 2004 reintroduces support for “remote audio sources” and you can configure your PC to behave like a Bluetooth speaker.

However, Microsoft says that you’ll need an app to manage the Bluetooth A2DP sink function and the feature is currently not available via system settings.

Developer ‪Mark Smirnov told us that he‬ has created an easy-to-use Bluetooth A2DP sink app and it allows you to listen to music from your phone on your PC speakers or wired headphones.

How to stream phone music to your PC speakers

To stream music from your mobile device to your Windows 10 PC’s speakers, follow these steps:

If you want to end the session, click on the ‘Close connection’ button within the application.

The app only allows you to stream media content from your phone to PC speakers and you cannot use it to make or receive calls.

If you want to manage calls via Bluetooth, you can try Microsoft’s Your Phone app or Dell Mobile Connect.

Источник

A2DP is the «Advanced Audio Distribution Profile» which describes how Bluetooth devices can stream stereo-quality audio to remote devices. It enables connecting high quality audio bluetooth devices, such as headphones and speakers, to your system.

Requirements

To connect to a given device you need working bluetooth on your machine and the following packages, one of which is non-free software which will require you to enable the non-free repository in your apt sources.

Once you have installed these packages, it may be necessary to restart the bluetooth and pulseaudio services:

Pairing

It is also highly recommended to install a graphical pairing tool. If you are using GNOME as your desktop environment, bluetooth-applet should already be installed from the gnome-bluetooth package.

Читайте также:  Scan windows for corrupt files

If you are using an alternative desktop environment that does not already include graphical bluetooth tools, you can use the blueman-applet from the blueman package:

Both of these applets will appear in the notification area of your desktop environment and will provide options for pairing and connecting to your speakers or headphones.

Pair your device as usual and give it the «trust» attribute. The «trust» attribute allows the device to automatically establish a connection to your machine when turned on and in range.

Configuring

Using pavucontrol from the pavucontrol package, it is really easy to setup A2DP for your device, and map connections to it. Your paired headphones should appear as an option to output audio.

Don’t forget to put it in high quality mode (A2DP) in the configuration tab. This is necessary for some devices that have mixed mode.

Compatible devices

Any A2DP device should work out of the box.

If you still didn’t bought one, the Creative WP-300 works very well and has a very very nice sound.

Troubleshooting

Refused to switch profile to a2dp_sink: Not connected

Bluetooth headset is connected, but ALSA/PulseAudio fails to pick up the connected device or there’s no device to pick. This happens because GDM captures A2DP sink on session start, as GDM needs pulseaudio in the gdm session for accessibility. For example, the screen reader requires it. See 805414 for some discussion.

Workaround 1: disable pulseaudio in gdm

In order to prevent GDM from capturing the A2DP sink on session start, edit /var/lib/gdm3/.config/pulse/client.conf (or create it, if it doesn’t exist):

After that you have to grant access to this file to Debian-gdm user:

You may also need to disable pulseaudio startup (however in Buster onwards this has already been removed in the gdm3 postinst):

In order to auto-connect a2dp for some devices, add this to /etc/pulse/default.pa:

Now the sound device (bluetooth headset) should be accessible through pavucontrol and standard audio device manager.

Workaround 2: disable pulseaudio’s bluetooth in gdm

The actual solution package maintainers are looking into next is to simply disable the bluetooth sink in the gdm pulseaudio daemon so that it doesn’t take over the device. Add this to /var/lib/gdm3/.config/pulse/default.pa:

This was first discovered in the Arch wiki.

Solution

The actual solution is for pulseaudio to release the Bluetooth device when it is not in use. This is discussed in the Pulseaudio 845938 which has a few upstream bugs pending as well that are related.

Unable to control volume with volumeicon-alsa

The volumeicon tray icon may not automatically recognize a bluetooth a2dp device when a connection is established. See Volumeicon does not work to adjust bluetooth volume for discussion and possible workarounds / fix.

Workaround 1: restart volumeicon

Workaround 2: adjust pulseaudio configuration to switch on connect

a2dp-sink profile connect failed [. ]: Protocol not available

I have had problems connecting with a bluetooth speaker once, with this error in the logs:

I am not sure exactly what the problem is, but it seems like Pulseaudio wasn’t properly connecting to the device. It might be because it was already playing. Stopping anything playing on pulseaudio, restarting pulseaudio and reconnecting to the device fixed the problem.

aptX (HD) and LDAC codecs are not available to be used with my device

The licenses of these codecs may not comply to the Debian rules of free software, but there is a project making these codecs available.

Also a Bash script is available and tested on Debian Buster, that fits to a normal Debian install. It installes every prequesites needed on Debian to compile and use the codecs with pulseaudio.

If the pulseaudio sink adjusts automatically to SBC-sink (not A2DP-sink with aptX or LDAC), just reconnect your device.

Источник

joergschiller / a2dp_sink_ubuntu_linux.md

Howto Enable and Use A2DP Sink on Ubuntu Linux with Bluez

Читайте также:  Windows show extensions file

Create loopback in pulseaudio connection bluetooth a2dp source with alsa sink:

This comment has been minimized.

Copy link Quote reply

Marneus68 commented Jan 29, 2013

This comment has been minimized.

Copy link Quote reply

domenpk commented Mar 21, 2013

To automatically do #4, when device is connected, I have this script running (before connecting, it needs to receive the event).

This comment has been minimized.

Copy link Quote reply

dghodgson commented Jan 13, 2014 •

@domenpuncer I’ve modified your python script to remove the loopback module when the device disconnects. If the module is kept loaded, it can cause some nasty feedback.

Unfortunately I’m not very familiar with python, or dbus’s python interface, so my solution is a bit of a hack. It just checks for a dbus message which consistently pops up when the device connects, and runs a shell command that removes all loopback modules for that device. Kind of ugly, but it seems to work reliably for me.

This comment has been minimized.

Copy link Quote reply

dghodgson commented Feb 3, 2014

I updated the script with a fix for the issue where multiple loopback modules would get loaded with successive pausing/playing of an audio stream.

This comment has been minimized.

Copy link Quote reply

H7O commented Apr 18, 2014

Is it possible to change the code in a way that will allow streaming audio from iPhone to Linux?

When I ran this code on Ubuntu 14.04, and connected an iPhone via bluetooth to the Ubuntu box, I got the following two lines:
[/org/bluez/27095/hci0/dev_00_34_5E_22_F5_61] State = connecting
[/org/bluez/27095/hci0/dev_00_34_5E_22_F5_61] State = disconnected

This comment has been minimized.

Copy link Quote reply

boulund commented Oct 12, 2014

Thanks so mcuh for this script and thanks domenpuncer and Toasty27 for your improvements!
I wrote my own little Gist (https://gist.github.com/boulund/8949499e17493e1c00db) explaining all the steps I had to take to get it working on my Debian server (mainly for my own memory, should I ever need to redo it).

This comment has been minimized.

Copy link Quote reply

murwiz commented Nov 10, 2014

When I tried this, I found the following two sinks:

However, both failed the same way:

$ pactl load-module module-loopback source=bluez_source.7C:6D:62:6B:85:68 sink=alsa_output.pci-0000_01_00.1.hdmi-stereo
Failure: Module initialization failed

This comment has been minimized.

Copy link Quote reply

progmars commented Mar 20, 2016

This comment has been minimized.

Copy link Quote reply

csvan commented Dec 6, 2016

I get Failure: Module initialization failed when running this on 16.10 unfortunately.

This comment has been minimized.

Copy link Quote reply

fregmented commented Dec 13, 2016

@csvan check your pactl list. alsa module name is changed.
In my case, I using sink=alsa_output.pci-0000_00_1f.4.analog-stereo.

This comment has been minimized.

Copy link Quote reply

abstatic commented Dec 14, 2017

Worked like a charm on my arch i3 box!! Thanks a lot for this!

This comment has been minimized.

Copy link Quote reply

axe312ger commented Dec 30, 2017

Thanks a lot, also working on my zotac zbox with kaby lake processor and ubuntu 16.04 LTS 🙂

This comment has been minimized.

Copy link Quote reply

aracrypto commented Feb 16, 2018

It did not work with me on raspberry pi

This comment has been minimized.

Copy link Quote reply

sonvirgo commented Feb 27, 2018 •

This comment has been minimized.

Copy link Quote reply

ShonkyCH commented Mar 12, 2018 •

What does » pacmd list-sources | grep name: » produce?

I’m not getting output but at least the loopback loads without error.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Поделиться с друзьями
Советы экспертов и специалистов
Adblock
detector