Skip to content

Commit

Permalink
Fix incomplete forward declaration of struct AUDIO_OUT
Browse files Browse the repository at this point in the history
* See also:
  libsndfile#15
  • Loading branch information
SoapGentoo authored and erikd committed Jun 11, 2017
1 parent ff2ba49 commit 01c5b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/audio_out.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#define ALSA_MAGIC MAKE_MAGIC ('L', 'n', 'x', '-', 'A', 'L', 'S', 'A')

typedef struct
typedef struct AUDIO_OUT
{ int magic ;
snd_pcm_t * dev ;
int channels ;
Expand Down
2 changes: 1 addition & 1 deletion examples/audio_out.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
*/

typedef struct AUDIO_OUT_s AUDIO_OUT ;
typedef struct AUDIO_OUT AUDIO_OUT ;

typedef int (*get_audio_callback_t) (void *callback_data, float *samples, int frames) ;

Expand Down

0 comments on commit 01c5b69

Please sign in to comment.