audio_core: Streams need unique names for CoreTiming.

This commit is contained in:
bunnei 2018-08-02 18:27:22 -04:00
parent 2b06301dbf
commit 9f846d3aa4
5 changed files with 14 additions and 10 deletions

View file

@ -5,6 +5,7 @@
#pragma once
#include <memory>
#include <string>
#include <vector>
#include "audio_core/buffer.h"
@ -20,7 +21,7 @@ namespace AudioCore {
class AudioOut {
public:
/// Opens a new audio stream
StreamPtr OpenStream(u32 sample_rate, u32 num_channels,
StreamPtr OpenStream(u32 sample_rate, u32 num_channels, std::string&& name,
Stream::ReleaseCallback&& release_callback);
/// Returns a vector of recently released buffers specified by tag for the specified stream