-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Update alsa.h #17092
base: master
Are you sure you want to change the base?
Update alsa.h #17092
Conversation
typedef struct alsa_stream_info { | ||
size_t buffer_size; | ||
size_t period_size; | ||
snd_pcm_uframes_t period_frames; | ||
unsigned int frame_bits; | ||
bool has_float; | ||
bool can_pause; |
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.
Please follow the code style
bool alsa_stop_pcm(snd_pcm_t *pcm); | ||
|
||
#endif /* RETROARCH_ALSA_H */ | ||
|
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.
Now the below code is redundant
#endif /* RETROARCH_ALSA_H */ | ||
|
||
bool alsa_start_pcm(snd_pcm_t *pcm); | ||
bool alsa_stop_pcm(snd_pcm_t *pcm); | ||
|
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.
As viachaslavic mentioned, likely don't need these last few lines, as the #endif is below
#endif /* RETROARCH_ALSA_H */ | |
bool alsa_start_pcm(snd_pcm_t *pcm); | |
bool alsa_stop_pcm(snd_pcm_t *pcm); |
No description provided.