| 50 | }; |
| 51 | |
| 52 | [[gnu::pure]] |
| 53 | static std::string |
| 54 | ChannelPositionArrayToString(const snd_pcm_chmap &chmap) noexcept |
| 55 | { |
| 56 | std::string s; |
| 57 | for (unsigned c = 0, n = chmap.channels; c < n; ++c) { |
| 58 | if (!s.empty()) |
| 59 | s.push_back(','); |
| 60 | s.append(snd_pcm_chmap_name(static_cast<enum snd_pcm_chmap_position>(chmap.pos[c]))); |
| 61 | } |
| 62 | |
| 63 | return s; |
| 64 | } |
| 65 | |
| 66 | [[gnu::pure]] |
| 67 | static constexpr bool |
no test coverage detected