Skip to content

Commit

Permalink
Update src/audio_input/audio.c
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua 'Pip' Minter <[email protected]>
  • Loading branch information
pseregiet and Joshua 'Pip' Minter authored Aug 8, 2020
1 parent 94e96a2 commit 1aff868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio_input/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static char *getDeviceName(const char *devname) {
if (devname == NULL || strcmp(devname, "auto") == 0) {
return NULL;
}
if (!strcmp(devname, "default")) {
if (strcmp(devname, "default") == 0) {
const char *sdlname = SDL_GetAudioDeviceName(0, false);
if (!sdlname) {
return NULL;
Expand Down

0 comments on commit 1aff868

Please sign in to comment.