audio_core: Streams need unique names for CoreTiming.
This commit is contained in:
parent
2b06301dbf
commit
9f846d3aa4
5 changed files with 14 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue