-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improves support for SM4s #336
Conversation
- Adds high precision timer support for SM4s. Fixes #330 - Adds support for microphone sensitivity reporting for Sm4s partially addressed #331 - Adds make, model, and sensor name for SM4. Partially addresses #296 - BREAKING change: resets channel identifier to match industry standard. i.e. the first channel is 0 (left). We were counting from 1 which is not the most popular format: https://en.wikipedia.org/wiki/Surround_sound#Channel_notation - BREAKING: Fixed a bug with the Location parsing code! Coordinates from WA sensors will now report the correct hemisphere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some simple file header errors caught in CI & a variable name
|
||
if (wamdData.FileStartTime is not null) | ||
{ | ||
if (wamdData.FileStartTime.Value.Case is OffsetDateTime o) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible rename o
to a more descriptive name?
I had to read the proceeding lines of code to figure out how o
was used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm this is a common convention for temporary variables that created just due to a cast. Here o
it is just the cast value of wamdData.FileStartTime
. However, any example of something difficult to read takes priority
Update src/Emu/Meta.cs Update src/Emu/Audio/VendorExtensions.cs Co-Authored-By: hudson-newey <[email protected]>
b5f7372
to
d40c76d
Compare
Hi Anthony, have you already released this change? |
Not yet, I'm doing one more feature and then I'll release. It was way harder than expected but it should be worth it |
Awesome. Thanks Anthony. Much appreciated. |
Adds high precision timer support for SM4s. Fixes Sub-second precision in SM4 #330
Adds support for microphone sensitivity reporting for Sm4s partially addressed Extracting sensitivity and gain for SM4 #331
Adds make, model, and sensor name for SM4. Partially addresses Metadata: fill vendor and sensor name fields #296
BREAKING change: resets channel identifier to match industry standard. i.e. the first channel is 0 (left). We were counting from 1 which is not the most popular format: https://en.wikipedia.org/wiki/Surround_sound#Channel_notation
BREAKING: Fixed a bug with the Location parsing code! Coordinates from WA sensors will now report the correct hemisphere