Skip to content

Commit

Permalink
Added an option to playwave to test float audio
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 9, 2017
1 parent bdf21b2 commit 4dff3cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions playwave.c
Expand Up @@ -396,6 +396,9 @@ int main(int argc, char *argv[])
if ( strcmp(argv[i], "-8") == 0 ) {
audio_format = AUDIO_U8;
} else
if ( strcmp(argv[i], "-f32") == 0 ) {
audio_format = AUDIO_F32;
} else
if ( strcmp(argv[i], "-f") == 0 ) { /* rcg06122001 flip stereo */
reverse_stereo = 1;
} else
Expand Down

0 comments on commit 4dff3cf

Please sign in to comment.