mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-02 19:01:47 +02:00
Resampling can use original rate or bit depth
This commit is contained in:
parent
0de2bbde36
commit
de75ad9b2c
4 changed files with 22 additions and 6 deletions
|
@ -46,6 +46,11 @@ public:
|
|||
void setFormat(const std::string& format);
|
||||
void setFormat(uint32_t rate, uint16_t bits, uint16_t channels);
|
||||
|
||||
bool isInitialized() const
|
||||
{
|
||||
return ((rate_ != 0) || (bits_ != 0) || (channels_ != 0));
|
||||
}
|
||||
|
||||
uint32_t rate() const
|
||||
{
|
||||
return rate_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue