mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-01 07:38:52 +02:00
moved alsaPlayer into player subdir
This commit is contained in:
parent
2036477446
commit
734adb8852
9 changed files with 162 additions and 67 deletions
|
@ -25,7 +25,7 @@
|
|||
#include "common/log.h"
|
||||
#include "common/signalHandler.h"
|
||||
#include "controller.h"
|
||||
#include "alsaPlayer.h"
|
||||
#include "player/alsaPlayer.h"
|
||||
#include "browseAvahi.h"
|
||||
|
||||
|
||||
|
@ -36,7 +36,7 @@ bool g_terminated = false;
|
|||
|
||||
PcmDevice getPcmDevice(const std::string& soundcard)
|
||||
{
|
||||
vector<PcmDevice> pcmDevices = Player::pcm_list();
|
||||
vector<PcmDevice> pcmDevices = AlsaPlayer::pcm_list();
|
||||
int soundcardIdx = -1;
|
||||
|
||||
try
|
||||
|
@ -108,7 +108,7 @@ int main (int argc, char *argv[])
|
|||
|
||||
if (listPcmDevices)
|
||||
{
|
||||
vector<PcmDevice> pcmDevices = Player::pcm_list();
|
||||
vector<PcmDevice> pcmDevices = AlsaPlayer::pcm_list();
|
||||
for (auto dev: pcmDevices)
|
||||
{
|
||||
cout << dev.idx << ": " << dev.name << "\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue