-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: reduce iram usage in mdnsbrowser
- Loading branch information
1 parent
c8d1437
commit 90bac47
Showing
3 changed files
with
86 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// #pragma once | ||
|
||
// // Standard includes | ||
// #include <utility> | ||
// #include <vector> | ||
|
||
// // Bell includes | ||
// #include "TransformPipeline.h" | ||
|
||
// namespace bell::dsp { | ||
// /** | ||
// * @brief MixerTransform allows for either downmixing or upmixing of audio channels. | ||
// */ | ||
// class MixerTransform : public Transform { | ||
// public: | ||
// MixerTransform() = default; | ||
|
||
// /** | ||
// * @brief Configure the mixer with the given map of input channel to output channels | ||
// * | ||
// * For example, to downmix stereo (0, 1) to mono (0), use [ {0, 0}, {1, 0} ] | ||
// * To upmix mono (0) to stereo (0, 1), use [ {0, 0}, {0, 1} ] | ||
// * | ||
// * @param mixerMap Vector of pairs of input channel to output channel | ||
// */ | ||
// void configure(const std::vector<std::pair<int, int>>& mixerMapping); | ||
|
||
// // Transform implementation, see Transform.h for details | ||
// void process(DataSlots& sampleSlots) override; | ||
// float calculateHeadroom() override; | ||
|
||
// private: | ||
// std::vector<std::pair<int, int>> mixerMapping; | ||
|
||
// // Calculates the input and output size | ||
// int sourceChannels = 0; | ||
// int targetChannels = 0; | ||
// }; | ||
// } // namespace bell::dsp | ||
|
||
// namespace bell { | ||
// using MixerTransform = dsp::MixerTransform; | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters