diff options
author | Chris Robinson <[email protected]> | 2021-08-15 07:47:31 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-08-15 07:47:31 -0700 |
commit | c62425fe74ca6f47ca35abea6708832398ac65fc (patch) | |
tree | f26d9c1d8cd8aeb4b559dd8ecd7ae74e78b69f73 /alc/backends | |
parent | 3154684f97030db0e66d02ff3c4cdfe7b5b8789f (diff) |
Minor naming and comment typo fix
Diffstat (limited to 'alc/backends')
-rw-r--r-- | alc/backends/pipewire.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/alc/backends/pipewire.cpp b/alc/backends/pipewire.cpp index 3ed26496..334fcbda 100644 --- a/alc/backends/pipewire.cpp +++ b/alc/backends/pipewire.cpp @@ -594,13 +594,13 @@ void parse_positions(DeviceNode *node, const spa_pod *value) constexpr size_t MaxChannels{SPA_AUDIO_MAX_CHANNELS}; auto posdata = std::make_unique<uint32_t[]>(MaxChannels); - const al::span<uint32_t,MaxChannels> pos{posdata.get(), MaxChannels}; - if(auto got = get_param_array<SPA_TYPE_Id>(value, pos)) + const al::span<uint32_t,MaxChannels> posarray{posdata.get(), MaxChannels}; + if(auto got = get_param_array<SPA_TYPE_Id>(value, posarray)) { - const al::span<uint32_t> chanmap{pos.first(got)}; + const al::span<uint32_t> chanmap{posarray.first(got)}; /* TODO: Does 5.1(rear) need to be tracked, or will PipeWire do the - * right thing and re-route the Side-lavelled Surround channels to + * right thing and re-route the Side-labelled Surround channels to * Rear-labelled Surround? */ if(got >= 8 && MatchChannelMap(chanmap, X71Map)) |