removed portaudio lib

git-svn-id: svn://elaine/murooma/trunk@213 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-08-27 19:52:54 +00:00
parent 429a2364b4
commit 65d8edf434
2 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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_start_threshold(pcm_handle, swparams, frames);
// snd_pcm_sw_params_set_stop_threshold(pcm_handle, swparams, frames);
snd_pcm_sw_params(pcm_handle, swparams);