[DEBUG] set noise back
This commit is contained in:
parent
af8f953867
commit
97d049f281
@ -29,12 +29,12 @@ class OutputInterface {
|
|||||||
m_interface = m_manager->createOutput(48000,
|
m_interface = m_manager->createOutput(48000,
|
||||||
channelMap,
|
channelMap,
|
||||||
audio::format_int16,
|
audio::format_int16,
|
||||||
"speaker",
|
"speaker");
|
||||||
"audio::ess::basicOutput");
|
|
||||||
if (m_interface == nullptr) {
|
if (m_interface == nullptr) {
|
||||||
EWOLSA_ERROR("can not allocate output interface ... ");
|
EWOLSA_ERROR("can not allocate output interface ... ");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
m_interface->setName("audio::ess::basicOutput");
|
||||||
// set callback mode ...
|
// set callback mode ...
|
||||||
m_interface->setOutputCallback(std::bind(&OutputInterface::onDataNeeded,
|
m_interface->setOutputCallback(std::bind(&OutputInterface::onDataNeeded,
|
||||||
this,
|
this,
|
||||||
@ -66,7 +66,7 @@ class OutputInterface {
|
|||||||
// call music
|
// call music
|
||||||
audio::ess::music::getData(static_cast<int16_t*>(_data), _nbChunk, _map.size());
|
audio::ess::music::getData(static_cast<int16_t*>(_data), _nbChunk, _map.size());
|
||||||
// call Effects
|
// call Effects
|
||||||
//audio::ess::effects::getData(static_cast<int16_t*>(_data), _nbChunk, _map.size());
|
audio::ess::effects::getData(static_cast<int16_t*>(_data), _nbChunk, _map.size());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
std::shared_ptr<OutputInterface> g_ioInterface;
|
std::shared_ptr<OutputInterface> g_ioInterface;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user