Loading bluetooth/audio/2.0/default/session/BluetoothAudioSession.h +2 −1 Original line number Diff line number Diff line Loading @@ -156,8 +156,9 @@ class BluetoothAudioSession { static constexpr PcmParameters kInvalidPcmParameters = { .sampleRate = SampleRate::RATE_UNKNOWN, .channelMode = ChannelMode::UNKNOWN, .bitsPerSample = BitsPerSample::BITS_UNKNOWN, .channelMode = ChannelMode::UNKNOWN}; }; // can't be constexpr because of non-literal type static const CodecConfiguration kInvalidCodecConfiguration; Loading bluetooth/audio/2.0/default/session/BluetoothAudioSupportedCodecsDB.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -94,16 +94,18 @@ static const LdacParameters kDefaultOffloadLdacCapability = { static const AptxParameters kDefaultOffloadAptxCapability = { .sampleRate = static_cast<SampleRate>(SampleRate::RATE_44100 | SampleRate::RATE_48000), .channelMode = ChannelMode::STEREO, .bitsPerSample = BitsPerSample::BITS_16, .channelMode = ChannelMode::STEREO}; }; // aptX HD: mSampleRate:(44100|48000), mBitsPerSample:(24), // mChannelMode:(STEREO) static const AptxParameters kDefaultOffloadAptxHdCapability = { .sampleRate = static_cast<SampleRate>(SampleRate::RATE_44100 | SampleRate::RATE_48000), .channelMode = ChannelMode::STEREO, .bitsPerSample = BitsPerSample::BITS_24, .channelMode = ChannelMode::STEREO}; }; const std::vector<CodecCapabilities> kDefaultOffloadA2dpCodecCapabilities = { {.codecType = CodecType::SBC, .capabilities = {}}, Loading Loading
bluetooth/audio/2.0/default/session/BluetoothAudioSession.h +2 −1 Original line number Diff line number Diff line Loading @@ -156,8 +156,9 @@ class BluetoothAudioSession { static constexpr PcmParameters kInvalidPcmParameters = { .sampleRate = SampleRate::RATE_UNKNOWN, .channelMode = ChannelMode::UNKNOWN, .bitsPerSample = BitsPerSample::BITS_UNKNOWN, .channelMode = ChannelMode::UNKNOWN}; }; // can't be constexpr because of non-literal type static const CodecConfiguration kInvalidCodecConfiguration; Loading
bluetooth/audio/2.0/default/session/BluetoothAudioSupportedCodecsDB.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -94,16 +94,18 @@ static const LdacParameters kDefaultOffloadLdacCapability = { static const AptxParameters kDefaultOffloadAptxCapability = { .sampleRate = static_cast<SampleRate>(SampleRate::RATE_44100 | SampleRate::RATE_48000), .channelMode = ChannelMode::STEREO, .bitsPerSample = BitsPerSample::BITS_16, .channelMode = ChannelMode::STEREO}; }; // aptX HD: mSampleRate:(44100|48000), mBitsPerSample:(24), // mChannelMode:(STEREO) static const AptxParameters kDefaultOffloadAptxHdCapability = { .sampleRate = static_cast<SampleRate>(SampleRate::RATE_44100 | SampleRate::RATE_48000), .channelMode = ChannelMode::STEREO, .bitsPerSample = BitsPerSample::BITS_24, .channelMode = ChannelMode::STEREO}; }; const std::vector<CodecCapabilities> kDefaultOffloadA2dpCodecCapabilities = { {.codecType = CodecType::SBC, .capabilities = {}}, Loading