mirror of https://github.com/odrling/Aegisub
Add files to media namespace
Originally committed to SVN as r5301.
This commit is contained in:
parent
e18ad3768b
commit
e55ad2ed4d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -221,3 +221,5 @@ void Audio::GetAudio(void *Buf, int64_t Start, int64_t Count) const {
|
|||
}
|
||||
} // namespace ffms
|
||||
} // namespace media
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue