[Bug 203745] A2DP Support for Bluetooth Headphone Audio

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Dec 2021 15:52:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745

--- Comment #63 from Alexey Dokuchaev <danfe@FreeBSD.org> ---
(In reply to Mark Johnston from comment #62)
> I wonder why virtual_bt_speaker is a separate program, and whether it
> could be combined with virtual_oss.
I fully agree, this is quite confusing, it would be nice to have just one
program that DTRT.

> I also had to change the sample rate to 44100, unlike most of the
> examples in this thread, for what it's worth.
I have to do the same for flac123 to play my *.flac files, otherwise it
complains:

  ao_oss ERROR: cannot set rate to 44100
  Error opening ao device 0

MPlayer handles it better as it's able to detect the output sample rate:

  Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
  AUDIO: 48000 Hz, 2 ch, floatle, 154.4 kbit/5.03% (ratio: 19305->384000)
  ...
  Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
  ==========================================================================
  AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)

or, if virtual_oss(8) started with -r 44100:

  AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)

(In reply to Hans Petter Selasky from comment #33)
> Also the volume control has not a maximum of 100 instead of 128.
Hans, I still cannot figure out how to control volume of a BT speaker.  I've
started virtual_oss(8) with -T /dev/sndstat but cat'ing it still reports "No
devices installed from userspace." and mixer ``mixer -a'' lists only
snd_hda(4)-based devices (two ALC298 and Intel's HDMI/DP).  What am I missing?

-- 
You are receiving this mail because:
You are the assignee for the bug.