Re: [RFC 1/2] android/hal-audio-hsp: Add audio HAL for HSP handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrei,

>>> This adds audio HAL for handling SCO. Following needs to be added to
>>> audio_policy.conf:
>>> 
>>> hsp {
>>>   outputs {
>>>     hsp {
>>>       ...
>>>       devices AUDIO_DEVICE_OUT_ALL_SCO
>>>       ...
>>>     }
>>>   }
>> 
>> if we need modifications to /etc/audio_policy.conf, we should have this
>> part of android/README or some other documentation. I also wonder if
>> this not also needs an inputs { } section since HSP is actually
>> full-duplex.
> 
> Yes we need input section as well, this was just example, the complete
> sections would look like (copied from real device):
> 
> ...
>  hsp {
>    outputs {
>      hsp {
>        sampling_rates 44100
>        channel_masks AUDIO_CHANNEL_OUT_STEREO
>        formats AUDIO_FORMAT_PCM_16_BIT
>        devices AUDIO_DEVICE_OUT_ALL_SCO
>      }
>    }
>    inputs {
>      hsp {
>        sampling_rates 44100
>        channel_masks AUDIO_CHANNEL_IN_MONO
>        formats AUDIO_FORMAT_PCM_16_BIT
>        devices AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET
>      }
>    }
>  }
>

how does sampling_rates of 44100 work here? Standard SCO/eSCO is 8000. And then we have Wideband speech as well.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux