[pulseaudio-discuss] Current status of wideband speech?

Pali Rohár pali.rohar at gmail.com
Mon Apr 15 09:51:48 UTC 2019


IIRC HFP profile supports more codecs, not only CVSD and mSBC. What
about abstracting codec API like for A2DP and create abstract API for
voice codes in pulseaudio?

On Monday 15 April 2019 14:45:31 Sathish Narasimman wrote:
> Hi,
> 
> You need backend Ofono with bluez to support WBS.
> You can see that CODEC is not selected.
> 
> HINT: Make sure the HF AG is up and running to Support WBS
> 
> Regards,
> Sathish N
> 
> On Mon, Apr 15, 2019 at 2:18 PM diego.ml <diego.ml at zoho.com> wrote:
> >
> > Hi Ta-Lun,
> >
> > sorry for the late reply.
> >
> >  ---- On ven, 22 feb 2019 17:27:09 +0100 Ta-Lun Yen <es at evsfy.com> wrote ----
> >  > Diego,
> >  >
> >  > Thanks for the info. Seems like I am missing something here, since it will error on entering HSP/HFP mode:
> >  >
> >  > I: [bluetooth] module-bluez5-device.c: Transport /org/bluez/hci0/dev_<redacted>/fd45 resuming
> >  > D: [bluetooth] module-bluez5-device.c: Stream properly set up, we're ready to roll!
> >  > E: [bluetooth] module-bluez5-device.c: Invalid codec for encoding: 0
> >  > D: [bluetooth] module-bluez5-device.c: IO thread failed
> >  > D: [lt-pulseaudio] sink.c: bluez_sink.<redacted>.headset_head_unit: state: INIT -> IDLE
> >  > D: [lt-pulseaudio] source.c: bluez_sink.<redacted>.headset_head_unit.monitor: state: INIT -> IDLE
> >  > D: [lt-pulseaudio] module-device-restore.c: Could not set format on sink bluez_sink.<redacted>.headset_head_unit
> >  > D: [lt-pulseaudio] module-bluetooth-policy.c: Profile headset_head_unit cannot be selected for loopback
> >  > D: [lt-pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.<redacted>.headset_head_unit becomes idle, timeout in 5 seconds.
> >  >
> >
> > I haven't experienced that problem.
> >
> > Let me add the original author to see if he has any comment.
> >
> > Regards,
> > Diego
> >
> >
> >  >
> >  >
> >  > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> >  > On Wednesday, February 13, 2019 11:11 PM, diego.ml via pulseaudio-discuss <pulseaudio-discuss at lists.freedesktop.org> wrote:
> >  >
> >  > > Hi Ta-Lun,
> >  > >
> >  > > actually there's an updated patch for Wide Band mSBC codec support:
> >  > > https://patchwork.freedesktop.org/patch/245272/
> >  > > It should apply cleanly on master if you want to test it / improve it.
> >  > >
> >  > > If you're working on 12.2, you'll also need to backport this commit (git cherry-pick will do):
> >  > > https://github.com/pulseaudio/pulseaudio/commit/fb600395e1e13ef68e36153faf02bda287927ae2
> >  > >
> >  > > Personally I've backported the patch to 12.2 and it worked fine so far with a Broadcom / Cypress chip (Sterling LWB5 module).
> >  > >
> >  > > Bests,
> >  > > Diego
> >  > >
> >  > > ---- On lun, 11 feb 2019 08:28:07 +0100 Ta-Lun Yen es at evsfy.com wrote ----
> >  > >
> >  > > > Currently, it seems there's no support for mSBC codec in PulseAudio (as for latest master).
> >  > >
> >  > > > Please correct me if I'm wrong about this.
> >  > >
> >  > > >
> >  > >
> >  > > > We have only CVSD support which only does 8000kHz on each direction, thus making everything sounds "vintage", even if device actually supports mSBC codec.
> >  > >
> >  > > >
> >  > >
> >  > > > However, I've seen previous threads from 2013 discussing about implementation of mSBC codec, and I wonder if we still have plans to implement them?
> >  > >
> >  > > >
> >
> >
> > _______________________________________________
> > pulseaudio-discuss mailing list
> > pulseaudio-discuss at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

-- 
Pali Rohár
pali.rohar at gmail.com


More information about the pulseaudio-discuss mailing list