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

Initial audio support #43

Merged
merged 11 commits into from
Feb 17, 2018
Merged

Initial audio support #43

merged 11 commits into from
Feb 17, 2018

Conversation

hexkyz
Copy link
Contributor

@hexkyz hexkyz commented Feb 13, 2018

Basic audio output support via "audout:u" service.

} AudioOutState;

/// audio output buffer format
typedef struct AudioOutBuffer AudioOutBuffer;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the comment should be on the struct below, not the typedef; otherwise I think it will throw doxygen off.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok. By the way, I based this on applet.h which appears to suffer from the same issue.

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually nvm, looks like doxygen can handle it.

AudioOutState State = 0;

// Passing an empty device name will open the default "DeviceOut"
char DeviceNameIn[DEVICE_NAME_LENGTH];
Copy link
Contributor

Choose a reason for hiding this comment

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

This is uninitialized... perhaps it should have = {0} at the end?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed it should

@yellows8 yellows8 merged commit 0e40828 into switchbrew:master Feb 17, 2018
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.

3 participants