Remove unused ChannelPosition API (update all backends and examples accordingly) (#198)
* Remove ChannelPosition API This removes the ChannelPosition API from the lib root and updates the ALSA backend and examples accordingly. The other backends have not yet been updated. Related discussion at #187. * Update windows backend to removal of ChannelPosition API The windows backend now assumes the channel position order is equal to the channel position mask order. E.g. channel 0 will always be front left, channel 1 will always be front right, etc. Compiled and ran both examples successfully. * Update coreaudio backend to removal of ChannelPosition API Compiled and ran both examples successfully. * Update emscriptem backend for removal of ChannelPosition API * Update CHANGELOG for ChannelPosition removal
This commit is contained in:
parent
6bf65f589d
commit
f2728f6bdf
8 changed files with 45 additions and 172 deletions
|
|
@ -183,7 +183,7 @@ impl Endpoint {
|
|||
Ok(
|
||||
vec![
|
||||
SupportedFormat {
|
||||
channels: vec![::ChannelPosition::BackLeft, ::ChannelPosition::BackRight],
|
||||
channels: 2,
|
||||
min_samples_rate: ::SamplesRate(44100),
|
||||
max_samples_rate: ::SamplesRate(44100),
|
||||
data_type: ::SampleFormat::F32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue