diff options
| author | Girish Pattabiraman <[email protected]> | 2018-08-13 10:54:19 -0700 |
|---|---|---|
| committer | Adonais Romero González <[email protected]> | 2018-08-13 10:54:19 -0700 |
| commit | 2af3e666d01a60568c2875b4ccbd56b122ad714f (patch) | |
| tree | 29825a7b7cb0f6a9f77f1ab6e5813665d45ca4cc /audio/sysvad/EndpointsCommon/micarraywavtable.h | |
| parent | 181c180357cdf9a04d5e3bb21a8e86dc2155ca69 (diff) | |
Update sample to get ready for RS4 changes - merge pre-RS4 fixes. (#256)
* Format Changes
==============
* Add KSEVENT_PINCAPS_FORMATCHANGE to Bluetooth HFP Endpoints
* Remove 8 bit formats from Bluetooth HFP Endpoints
Name Template
==============
* Bluetooth Endpoints are now based on templates in INF and then customized with endpoints specific data
Sideband Common Interface for future Sideband buses
===================================================
* Add ISidebandDevice
* Add current directory to TabletAudioSample include path. Remove unused compiler flags.
* RS4 bug fixes
Diffstat (limited to 'audio/sysvad/EndpointsCommon/micarraywavtable.h')
| -rw-r--r-- | audio/sysvad/EndpointsCommon/micarraywavtable.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/audio/sysvad/EndpointsCommon/micarraywavtable.h b/audio/sysvad/EndpointsCommon/micarraywavtable.h index beda8742..0db6e6a0 100644 --- a/audio/sysvad/EndpointsCommon/micarraywavtable.h +++ b/audio/sysvad/EndpointsCommon/micarraywavtable.h @@ -309,6 +309,8 @@ MODE_AND_DEFAULT_FORMAT MicArrayPinSupportedDeviceModes[] = static KSDATAFORMAT_WAVEFORMATEXTENSIBLE KeywordPinSupportedDeviceFormats[] = { + // 0 - Note the ENDPOINT_MINIPAIR structures for the mic arrays use this element as the proposed SPEECH format for KWD pin + // 16 KHz 16-bit mono { { sizeof(KSDATAFORMAT_WAVEFORMATEXTENSIBLE), @@ -327,7 +329,7 @@ KSDATAFORMAT_WAVEFORMATEXTENSIBLE KeywordPinSupportedDeviceFormats[] = 32000, // average bytes per second 2, // 2 bytes per frame 16, // 16 bits per sample container - sizeof(WAVEFORMATEXTENSIBLE) - sizeof(WAVEFORMATEX) + sizeof(WAVEFORMATEXTENSIBLE)-sizeof(WAVEFORMATEX) }, 16, // valid bits per sample KSAUDIO_SPEAKER_MONO, @@ -340,9 +342,9 @@ static MODE_AND_DEFAULT_FORMAT KeywordPinSupportedDeviceModes[] = { { - STATIC_AUDIO_SIGNALPROCESSINGMODE_RAW, + STATIC_AUDIO_SIGNALPROCESSINGMODE_SPEECH, &KeywordPinSupportedDeviceFormats[SIZEOF_ARRAY(KeywordPinSupportedDeviceFormats) - 1].DataFormat - } + }, }; // @@ -604,7 +606,7 @@ KSDATARANGE_AUDIO KeywordPinDataRangesStream[] = 16, // max bits per sample 16000, // min sample rate 16000 // max sample rate - } + }, }; static @@ -753,6 +755,19 @@ SYSVADPROPERTY_ITEM PropertiesMicArrayWaveFilter[] = }, { { + &KSPROPSETID_AudioEffectsDiscovery, + KSPROPERTY_AUDIOEFFECTSDISCOVERY_EFFECTSLIST, + KSPROPERTY_TYPE_GET | KSPROPERTY_TYPE_BASICSUPPORT, + PropertyHandler_WaveFilter + }, + 0, + 0, + NULL, + NULL, + NULL + }, + { + { &KSPROPSETID_SoundDetector, KSPROPERTY_SOUNDDETECTOR_SUPPORTEDPATTERNS, KSPROPERTY_TYPE_GET | KSPROPERTY_TYPE_BASICSUPPORT, |
