@@ -54,13 +54,13 @@ namespace openshot
5454 *
5555 * This allows any reader to play audio through JUCE (our audio framework).
5656 */
57- class AudioReaderSource : public PositionableAudioSource
57+ class AudioReaderSource : public juce :: PositionableAudioSource
5858 {
5959 private:
6060 int position; // / The position of the audio source (index of buffer)
6161 bool repeat; // / Repeat the audio source when finished
6262 int size; // / The size of the internal buffer
63- AudioSampleBuffer *buffer; // / The audio sample buffer
63+ juce:: AudioSampleBuffer *buffer; // / The audio sample buffer
6464 int speed; // / The speed and direction to playback a reader (1=normal, 2=fast, 3=faster, -1=rewind, etc...)
6565
6666 ReaderBase *reader; // / The reader to pull samples from
@@ -90,7 +90,7 @@ namespace openshot
9090
9191 // / @brief Get the next block of audio samples
9292 // / @param info This struct informs us of which samples are needed next.
93- void getNextAudioBlock (const AudioSourceChannelInfo& info);
93+ void getNextAudioBlock (const juce:: AudioSourceChannelInfo& info);
9494
9595 // / Prepare to play this audio source
9696 void prepareToPlay (int , double );
@@ -100,13 +100,13 @@ namespace openshot
100100
101101 // / @brief Set the next read position of this source
102102 // / @param newPosition The sample # to start reading from
103- void setNextReadPosition (int64 newPosition);
103+ void setNextReadPosition (juce:: int64 newPosition);
104104
105105 // / Get the next read position of this source
106- int64 getNextReadPosition () const ;
106+ juce:: int64 getNextReadPosition () const ;
107107
108108 // / Get the total length (in samples) of this audio source
109- int64 getTotalLength () const ;
109+ juce:: int64 getTotalLength () const ;
110110
111111 // / Determines if this audio source should repeat when it reaches the end
112112 bool isLooping () const ;
@@ -116,7 +116,7 @@ namespace openshot
116116 void setLooping (bool shouldLoop);
117117
118118 // / Update the internal buffer used by this source
119- void setBuffer (AudioSampleBuffer *audio_buffer);
119+ void setBuffer (juce:: AudioSampleBuffer *audio_buffer);
120120
121121 const ReaderInfo & getReaderInfo () const { return reader->info ; }
122122
0 commit comments