Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support downmix feature and refactor. #1298

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Conversation

shogo4405
Copy link
Owner

Description & motivation

  • I have added support for downmixing in multi-channel audio. Downmixing is a technique used to mix multiple channels into fewer channels, such as mixing down to 2 channels.
  • I have corrected an issue where in PR Improve audio channel mapping #1280, when converting from 1 input channel to 2 output channels, it was mapping to the left channel. I have fixed this, and the expectation is to map to both channels now.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Screenshots:

@shogo4405 shogo4405 added this to the 1.7.0 milestone Sep 22, 2023
@shogo4405 shogo4405 force-pushed the feature/mono-to-stereo branch from 558ceda to a6725f4 Compare September 22, 2023 15:53
@shogo4405 shogo4405 merged commit d55a6a1 into main Sep 23, 2023
1 check passed
@shogo4405 shogo4405 deleted the feature/mono-to-stereo branch September 23, 2023 03:16
}

func invalidate(_ oldValue: IOAudioResamplerSettings!) -> Bool {
return (sampleRate != oldValue.sampleRate &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to have OR condition? Please take look, thanks.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. 780449b

shogo4405 added a commit that referenced this pull request Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants