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

Size of audio packets makes no sense. #2

Open
dgatwood opened this issue Jul 11, 2021 · 0 comments
Open

Size of audio packets makes no sense. #2

dgatwood opened this issue Jul 11, 2021 · 0 comments

Comments

@dgatwood
Copy link

In audio frames, the size I'm getting doesn't make a lot of sense. For a stereo stream (fowt), I'm getting 8.

The actual total size of the data should be either 4096 (the stride size) or 8192 (the total data size).

The value "8" is neither the size of a single sample (4) nor the stride size, nor anything else other than the total size divided by the number of samples. For a mono stream, it's the sample size; for a stereo stream, it makes no sense this way at all.

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