diff --git a/client/Makefile b/client/Makefile index 8e6a59f1..bc121a91 100644 --- a/client/Makefile +++ b/client/Makefile @@ -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 diff --git a/client/player.cpp b/client/player.cpp index 17c2d638..30eb4fa5 100644 --- a/client/player.cpp +++ b/client/player.cpp @@ -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);