Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get sound output to my BT speaker without pulseaudio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 387
Location: Chicago, USA

PostPosted: Sun Dec 01, 2019 11:18 pm    Post subject: How to get sound output to my BT speaker without pulseaudio Reply with quote

I can connect to my bluetooth speaker with BlueZ 5, and can play an audio file to the speaker using blue-alsa like this:
Code:
aplay -D bluealsa myfile.wav

and can control the sound volume to the speaker with alsamixer -D
but in vlc I can't get sound to the bluetooth speaker (the only audio devices listed are HDMI and the PCH sound card), and naturally sound from videos in the browser doesn't go the the speaker.
I would prefer not to install pulseaudio; I've gotten along without it for a long time and I'm too old to switch. Is there any way to do this?
TIA.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6021

PostPosted: Mon Dec 02, 2019 12:51 am    Post subject: Reply with quote

You need to tell VLC to use the bluealsa output manually; it won't detect it automatically since it's not a real kernel device, but implemented by an alsa-lib plugin.
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 387
Location: Chicago, USA

PostPosted: Mon Dec 02, 2019 6:32 pm    Post subject: Reply with quote

OK, cool! I start vlc like this and it works:
Code:
vlc --alsa-audio-device bluealsa

I still can't figure out how to get google-chrome to use the bluealsa device, though.

EDIT: figured it out:
Code:
google-chrome-stable --alsa-output-device=bluealsa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum