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 for EBUR128_DUAL_MONO channel configuration #116

Open
Rohit-Khali opened this issue Sep 15, 2021 · 0 comments
Open

Support for EBUR128_DUAL_MONO channel configuration #116

Rohit-Khali opened this issue Sep 15, 2021 · 0 comments

Comments

@Rohit-Khali
Copy link

Hi,

I am wondering about the usage of EBUR128_DUAL_MONO as defined in ebur128.h.
Can we use EBUR128_DUAL_MONO in ebur128_set_channel() to set channel map for both dual mono channels?

Also, there seem to be specific check for EBUR128_DUAL_MONO here. What does this mean.

int ebur128_set_channel(ebur128_state* st,
unsigned int channel_number,
int value) {
...........
if (value == EBUR128_DUAL_MONO &&
(st->channels != 1 || channel_number != 0)) {
fprintf(stderr, "EBUR128_DUAL_MONO only works with mono files!\n");
return EBUR128_ERROR_INVALID_CHANNEL_INDEX;
}
}
Its urgent, please reply since I need to add loudness support for dual mono.

Thanks and Regards,
Rohit Khali

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

No branches or pull requests

1 participant