mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-05 04:11:50 +02:00
removed portaudio lib
git-svn-id: svn://elaine/murooma/trunk@213 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
429a2364b4
commit
65d8edf434
2 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
VERSION = 0.01
|
||||
CC = /usr/bin/g++
|
||||
CFLAGS = -std=gnu++0x -Wall -Wno-unused-function -O3 -D_REENTRANT -DVERSION=\"$(VERSION)\" -I..
|
||||
LDFLAGS = -lrt -lpthread -lportaudio -lboost_system -lboost_program_options -lasound
|
||||
LDFLAGS = -lrt -lpthread -lboost_system -lboost_program_options -lasound
|
||||
|
||||
OBJ = snapClient.o stream.o player.o receiver.o ../common/chunk.o ../common/log.o ../common/sampleFormat.o
|
||||
BIN = snapclient
|
||||
|
|
|
@ -102,10 +102,8 @@ void Player::start()
|
|||
snd_pcm_sw_params_current(pcm_handle, swparams);
|
||||
|
||||
snd_pcm_sw_params_set_avail_min(pcm_handle, swparams, frames);
|
||||
|
||||
/* round up to closest transfer boundary */
|
||||
snd_pcm_sw_params_set_start_threshold(pcm_handle, swparams, frames);
|
||||
snd_pcm_sw_params_set_stop_threshold(pcm_handle, swparams, frames);
|
||||
// snd_pcm_sw_params_set_stop_threshold(pcm_handle, swparams, frames);
|
||||
snd_pcm_sw_params(pcm_handle, swparams);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue