Skip to content

Commit

Permalink
acap/aplay headers: add missing include guard
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Nov 22, 2024
1 parent 3c9e1cf commit e52029d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/audio/audio_capture.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef AUDIO_AUDIO_CAPTURE_H_843AF3B5_0481_4E0A_8F55_FDB5B3D3F351
#define AUDIO_AUDIO_CAPTURE_H_843AF3B5_0481_4E0A_8F55_FDB5B3D3F351

#include "../types.h"

#ifdef __cplusplus
Expand Down Expand Up @@ -80,5 +83,7 @@ void *audio_capture_get_state_pointer(struct state_audio_c
}
#endif

#endif // defined AUDIO_AUDIO_CAPTURE_H_843AF3B5_0481_4E0A_8F55_FDB5B3D3F351

/* vim: set expandtab sw=4: */

5 changes: 5 additions & 0 deletions src/audio/audio_playback.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef AUDIO_AUDIO_PLAYBACK_H_316AA23B_3EFF_4150_83D2_24A2295CB74A
#define AUDIO_AUDIO_PLAYBACK_H_316AA23B_3EFF_4150_83D2_24A2295CB74A

#include "../types.h"

struct audio_desc;
Expand Down Expand Up @@ -136,5 +139,7 @@ void *audio_playback_get_state_pointer(struct state_audio_
}
#endif

#endif // defined AUDIO_AUDIO_PLAYBACK_H_316AA23B_3EFF_4150_83D2_24A2295CB74A

/* vim: set expandtab sw=8: */

0 comments on commit e52029d

Please sign in to comment.