-
Notifications
You must be signed in to change notification settings - Fork 173
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
Conversation
nx/include/switch/services/audout.h
Outdated
} AudioOutState; | ||
|
||
/// audio output buffer format | ||
typedef struct AudioOutBuffer AudioOutBuffer; |
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.
I think the comment should be on the struct below, not the typedef; otherwise I think it will throw doxygen off.
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.
Ok. By the way, I based this on applet.h which appears to suffer from the same issue.
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.
Actually nvm, looks like doxygen can handle it.
nx/source/services/audout.c
Outdated
AudioOutState State = 0; | ||
|
||
// Passing an empty device name will open the default "DeviceOut" | ||
char DeviceNameIn[DEVICE_NAME_LENGTH]; |
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.
This is uninitialized... perhaps it should have = {0}
at the end?
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.
Indeed it should
Basic audio output support via "audout:u" service.