Got ffmpeg and juce compiling and mostly everything working again. FFmpeg is the newest version, and so is JUCE.

This commit is contained in:
Jonathan Thomas
2012-06-16 02:12:48 -05:00
parent 57520f0ba3
commit b775fff325
10 changed files with 39 additions and 47 deletions

View File

@@ -91,7 +91,7 @@ void AudioBufferSource::releaseResources()
};
// Set the next read position of this source
void AudioBufferSource::setNextReadPosition (int newPosition)
void AudioBufferSource::setNextReadPosition (long long newPosition)
{
// set position (if the new position is in range)
if (newPosition > 0 && newPosition < buffer->getNumSamples())
@@ -99,14 +99,14 @@ void AudioBufferSource::setNextReadPosition (int newPosition)
};
// Get the next read position of this source
int AudioBufferSource::getNextReadPosition() const
long long AudioBufferSource::getNextReadPosition() const
{
// return the next read position
return position;
};
// Get the total length (in samples) of this audio source
int AudioBufferSource::getTotalLength() const
long long AudioBufferSource::getTotalLength() const
{
// Get the length
return buffer->getNumSamples();