Skip to content

Commit

Permalink
Changed headers in sink and source test to no longer use specific sin…
Browse files Browse the repository at this point in the history
…k and header files, now relies on pump.h
  • Loading branch information
Hrick87 committed Feb 27, 2024
1 parent ee10f4c commit e15ad04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions src/tests/roc_sndio/test_backend_sink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "roc_core/scoped_ptr.h"
#include "roc_core/temp_file.h"
#include "roc_sndio/backend_map.h"
#include "roc_sndio/pump.h"

namespace roc {
namespace sndio {
Expand Down Expand Up @@ -89,13 +90,6 @@ TEST(backend_sink, has_clock) {
if (!supports_aiff(backend)) {
continue;
}
{
IDevice* backend_device = backend.open_device(
DeviceType_Sink, DriverType_File, NULL, file.path(), sink_config, arena);
CHECK(backend_device != NULL);
core::ScopedPtr<ISource> backend_sink(backend_device->to_source(), arena);
CHECK(backend_sink != NULL);
}
IDevice* backend_device = backend.open_device(
DeviceType_Sink, DriverType_File, NULL, file.path(), sink_config, arena);
CHECK(backend_device != NULL);
Expand Down
1 change: 0 additions & 1 deletion src/tests/roc_sndio/test_backend_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "roc_core/buffer_factory.h"
#include "roc_core/heap_arena.h"
#include "roc_core/scoped_ptr.h"
#include "roc_core/stddefs.h"
#include "roc_core/temp_file.h"
#include "roc_sndio/backend_map.h"
#include "roc_sndio/pump.h"
Expand Down

0 comments on commit e15ad04

Please sign in to comment.