Add player namespace and player name constants

This commit is contained in:
badaix 2020-12-31 18:29:26 +01:00
parent f254d59832
commit c880ae2e62
20 changed files with 140 additions and 50 deletions

View file

@ -27,6 +27,9 @@
using namespace std;
namespace player
{
static constexpr auto LOG_TAG = "FilePlayer";
static constexpr auto kDefaultBuffer = 50ms;
@ -128,3 +131,5 @@ void FilePlayer::stop()
LOG(INFO, LOG_TAG) << "Stop\n";
timer_.cancel();
}
} // namespace player