Add files to media namespace

Originally committed to SVN as r5301.
This commit is contained in:
Amar Takhar 2011-02-06 03:08:51 +00:00
parent e18ad3768b
commit e55ad2ed4d
7 changed files with 31 additions and 0 deletions

View file

@ -52,6 +52,8 @@
#include "standard_paths.h"
#include "utils.h"
namespace media {
/// @brief Constructor
/// @param _filename
///
@ -168,3 +170,5 @@ void AvisynthAudioProvider::GetAudio(void *buf, int64_t start, int64_t count) co
}
}
#endif
} // namespace

View file

@ -39,6 +39,8 @@
#include "avisynth_wrap.h"
namespace media {
/// DOCME
/// @class AvisynthAudioProvider
/// @brief DOCME
@ -66,3 +68,6 @@ public:
void GetWaveForm(int *min,int *peak,int64_t start,int w,int h,int samples,float scale);
};
#endif
} // namespace

View file

@ -36,6 +36,8 @@
#include "include/aegisub/audio_provider.h"
namespace media {
/// DOCME
/// @class DummyAudioProvider
/// @brief DOCME
@ -52,3 +54,6 @@ public:
bool AreSamplesNativeEndian() const { return true; }
void GetAudio(void *buf, int64_t start, int64_t count) const;
};
} // namespace

View file

@ -40,6 +40,8 @@
#include "utils.h"
namespace media {
/// @brief Constructor
/// @param dur_ms
/// @param _noise
@ -74,3 +76,6 @@ void DummyAudioProvider::GetAudio(void *buf, int64_t start, int64_t count) const
*workbuf++ = 0;
}
}
} // namespace

View file

@ -221,3 +221,5 @@ void Audio::GetAudio(void *Buf, int64_t Start, int64_t Count) const {
}
} // namespace ffms
} // namespace media

View file

@ -59,6 +59,8 @@
#include "utils.h"
namespace media {
/// @brief DOCME
/// @param filename
///
@ -629,3 +631,6 @@ AudioProvider *CreatePCMAudioProvider(const wxString &filename)
throw AudioOpenError(msg);
}
}
} // namespace

View file

@ -48,6 +48,8 @@
#include "include/aegisub/audio_provider.h"
namespace media {
/// DOCME
/// @class PCMAudioProvider
/// @brief DOCME
@ -113,3 +115,6 @@ public:
// Construct the right PCM audio provider (if any) for the file
AudioProvider *CreatePCMAudioProvider(const wxString &filename);
} // namespace