diff --git a/src/internal_modules/roc_sndio/target_sndfile/roc_sndio/sndfile_source.cpp b/src/internal_modules/roc_sndio/target_sndfile/roc_sndio/sndfile_source.cpp new file mode 100644 index 0000000000..ff0dec62c5 --- /dev/null +++ b/src/internal_modules/roc_sndio/target_sndfile/roc_sndio/sndfile_source.cpp @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2023 Roc Streaming authors + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include "roc_sndio/sndfile_source.h" +#include "roc_core/log.h" +#include "roc_core/panic.h" +#include "roc_sndio/backend_map.h" + +namespace roc { +namespace sndio {} +} // namespace roc diff --git a/src/internal_modules/roc_sndio/target_sndfile/roc_sndio/sndfile_source.h b/src/internal_modules/roc_sndio/target_sndfile/roc_sndio/sndfile_source.h new file mode 100644 index 0000000000..2d7667a0ad --- /dev/null +++ b/src/internal_modules/roc_sndio/target_sndfile/roc_sndio/sndfile_source.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2023 Roc Streaming authors + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +//! @file roc_sndio/target_sndfile/roc_sndio/sndfile_source.h +//! @brief TODO. + +#ifndef ROC_SNDIO_SNDFILE_SOURCE_H_ +#define ROC_SNDIO_SNDFILE_SOURCE_H_ + +#include + +#include "roc_audio/sample_spec.h" +#include "roc_core/array.h" +#include "roc_core/iarena.h" +#include "roc_core/noncopyable.h" +#include "roc_core/stddefs.h" +#include "roc_core/string_buffer.h" +#include "roc_packet/units.h" +#include "roc_sndio/config.h" +#include "roc_sndio/isource.h" + +namespace roc { +namespace sndio { + +//! Sndfile source. +//! @remarks +//! Reads samples from input file or device. +//! Supports multiple drivers for different file types and audio systems. +class SndfileSource : public ISource, private core::NonCopyable<> { +public: +private: +}; +} // namespace sndio +} // namespace roc + +#endif // ROC_SNDIO_SNDFILE_SOURCE_H_