Skip to content

Commit

Permalink
fix GCC-10 / -fno-common build. Fix #7
Browse files Browse the repository at this point in the history
Bug was originally reported at Gentoo Bugzilla as Bug 706692 by Toralf Förster
on 2020-01-27, and Matt Whitlock on 2020-05-16 provided the fix used in this
commit, and as such is credited as commit author. On 2020-07-04 Jonas Stein
mentioned this repository on that Gentoo Bug Report and reported the issue on
Github.

See https://bugs.gentoo.org/706692

Thanks Jonas Stein @jonasstein for reporting!
  • Loading branch information
Matt Whitlock authored and MestreLion committed Jul 4, 2020
1 parent cc65ab4 commit ee5e0f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void raw_close(void *);
long wav_read(void *, double **buffer, int samples, int fast, int chunk);
long wav_ieee_read(void *, double **buffer, int samples, int fast, int chunk);

enum {
enum file_formats {
WAV_NO_FMT = 0,
WAV_FMT_8BIT,
WAV_FMT_16BIT,
Expand All @@ -146,7 +146,7 @@ enum {
WAV_FMT_AIFF,
WAV_FMT_AIFC8,
WAV_FMT_AIFC16
} file_formats;
};

typedef struct
{
Expand Down

0 comments on commit ee5e0f9

Please sign in to comment.