History

Fix incomplete forward declaration of struct AUDIO_OUT

* See also: https://github.com/erikd/libsamplerate/issues/15

David Seifert committed 9 years ago

Commit 01c5b691 parent ff2ba492 files · +2 −2Browse files

Unified · Split

2 files
  1. examples/audio_out.c +1 −1
  2. examples/audio_out.h +1 −1
examples/audio_out.c+1−1
@@ -43,7 +43,7 @@ · 42 unmodified lines
43 43
44#define ALSA_MAGIC MAKE_MAGIC ('L', 'n', 'x', '-', 'A', 'L', 'S', 'A')44#define ALSA_MAGIC MAKE_MAGIC ('L', 'n', 'x', '-', 'A', 'L', 'S', 'A')
45 45
46typedef struct46typedef struct AUDIO_OUT
47{ int magic ;47{ int magic ;
48 snd_pcm_t * dev ;48 snd_pcm_t * dev ;
49 int channels ;49 int channels ;
examples/audio_out.h+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING6** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
7*/7*/
8 8
9typedef struct AUDIO_OUT_s AUDIO_OUT ;9typedef struct AUDIO_OUT AUDIO_OUT ;
10 10
11typedef int (*get_audio_callback_t) (void *callback_data, float *samples, int frames) ;11typedef int (*get_audio_callback_t) (void *callback_data, float *samples, int frames) ;
12 12

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t