Skip to content

Commit 01c5b69

Browse files
SoapGentooerikd
authored andcommitted
Fix incomplete forward declaration of struct AUDIO_OUT
* See also: #15
1 parent ff2ba49 commit 01c5b69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/audio_out.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

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

46-
typedef struct
46+
typedef struct AUDIO_OUT
4747
{ int magic ;
4848
snd_pcm_t * dev ;
4949
int channels ;

examples/audio_out.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
77
*/
88

9-
typedef struct AUDIO_OUT_s AUDIO_OUT ;
9+
typedef struct AUDIO_OUT AUDIO_OUT ;
1010

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

0 commit comments

Comments
 (0)