Skip to content

Commit

Permalink
Add license header to all audio files
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Nov 29, 2023
1 parent 9407132 commit 4e3d640
Show file tree
Hide file tree
Showing 22 changed files with 84 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/audio/Stream.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include <cstddef>
Expand Down
4 changes: 4 additions & 0 deletions src/audio/Track.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include <gsl/span>
Expand Down
2 changes: 2 additions & 0 deletions src/audio/android/engine.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
#include "../engine.hpp"
#include "../constants.hpp"
#include "../Stream.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/constants.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include <cstdint>
Expand Down
4 changes: 4 additions & 0 deletions src/audio/duration.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include "constants.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/loop.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#include "loop.hpp"

#include "../Stream.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/loop.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include <memory>
Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/pause.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#include "pause.hpp"

#include <algorithm>
Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/pause.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include "../Stream.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/pitch.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#include "pitch.hpp"

#include <atomic>
Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/pitch.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include "../Stream.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/volume.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#include "volume.hpp"
#include "volume_base.hpp"

Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/volume.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include "../Stream.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/volume_base.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#include "volume_base.hpp"
#include "../constants.hpp"
#include "../smooth.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/effect/volume_base.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include "../Stream.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/engine.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include <memory>
Expand Down
2 changes: 2 additions & 0 deletions src/audio/ios/Engine.mm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
#include "../engine.hpp"

#include "../constants.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/mixer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#include "mixer.hpp"

#include <atomic_queue/atomic_queue.h>
Expand Down
4 changes: 4 additions & 0 deletions src/audio/mixer.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include "Stream.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/sdl/engine.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#include "../engine.hpp"

#include "../../jngl/debug.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/smooth.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#pragma once

#include "constants.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/audio/track_raw.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2023 Jan Niklas Hasse <[email protected]>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
// Based on the audio implementation of the psemek engine, see
// https://lisyarus.github.io/blog/programming/2022/10/15/audio-mixing.html
#include "Track.hpp"

#include "Stream.hpp"
Expand Down

0 comments on commit 4e3d640

Please sign in to comment.