![]() |
nRF Connect SDK API 3.3.99
|
| bool srv_store_preset_validated | ( | struct bt_audio_codec_cfg const *const | new, |
| struct bt_audio_codec_cfg const *const | existing, | ||
| uint8_t | pref_sample_rate_value ) |
#include <applications/nrf_audio/src/bluetooth/bt_stream/unicast/server_store.h>
Validate the codec configuration preset.
| [in] | new | Pointer to the new codec configuration. |
| [in] | existing | Pointer to the existing codec configuration. |
| [in] | pref_sample_rate_value | Preferred sample rate value. |
| true | The new preset should overwrite the existing one. |
| false | Otherwise. |