Browse Source

[alsa_io] remove rememnants of time_smoother

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3372 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.117.0
torben 17 years ago
parent
commit
e019971641
3 changed files with 2 additions and 21 deletions
  1. +2
    -2
      tools/Makefile.am
  2. +0
    -9
      tools/alsa_in.c
  3. +0
    -10
      tools/alsa_out.c

+ 2
- 2
tools/Makefile.am View File

@@ -128,12 +128,12 @@ jack_netsource_LDADD = $(top_builddir)/libjack/libjack.la

if HAVE_SAMPLERATE
if HAVE_ALSA
alsa_in_SOURCES = alsa_in.c time_smoother.c
alsa_in_SOURCES = alsa_in.c
alsa_in_CFLAGS = @NETJACK_CFLAGS@
alsa_in_LDFLAGS = -lasound -lsamplerate @OS_LDFLAGS@
alsa_in_LDADD = $(top_builddir)/libjack/libjack.la

alsa_out_SOURCES = alsa_out.c time_smoother.c
alsa_out_SOURCES = alsa_out.c
alsa_out_CFLAGS = @NETJACK_CFLAGS@
alsa_out_LDFLAGS = -lasound -lsamplerate @OS_LDFLAGS@
alsa_out_LDADD = $(top_builddir)/libjack/libjack.la


+ 0
- 9
tools/alsa_in.c View File

@@ -19,7 +19,6 @@
#include "alsa/asoundlib.h"

#include <samplerate.h>
#include "time_smoother.h"

typedef signed short ALSASAMPLE;

@@ -40,7 +39,6 @@ int jack_sample_rate;

double current_resample_factor = 1.0;

time_smoother *smoother;

// ------------------------------------------------------ commandline parameters

@@ -538,13 +536,6 @@ int main (int argc, char *argv[]) {
if( !max_diff )
max_diff = period_size / 2;

smoother = time_smoother_new( 100 );
if( !smoother ) {
fprintf (stderr, "no memory\n");
return 10;
}


if ((client = jack_client_new (jack_name)) == 0) {
fprintf (stderr, "jack server not running?\n");
return 1;


+ 0
- 10
tools/alsa_out.c View File

@@ -22,7 +22,6 @@
#include "alsa/asoundlib.h"

#include <samplerate.h>
#include "time_smoother.h"

#define SAMPLE_16BIT_SCALING 32767.0f
#define SAMPLE_16BIT_MAX 32767
@@ -59,8 +58,6 @@ int jack_sample_rate;

double current_resample_factor = 1.0;

time_smoother *smoother;

// ------------------------------------------------------ commandline parameters

int sample_rate = 0; /* stream rate */
@@ -563,13 +560,6 @@ int main (int argc, char *argv[]) {
if( !max_diff )
max_diff = period_size / 2;

smoother = time_smoother_new( 100 );
if( !smoother ) {
fprintf (stderr, "no memory\n");
return 10;
}


if ((client = jack_client_new (jack_name)) == 0) {
fprintf (stderr, "jack server not running?\n");
return 1;


Loading…
Cancel
Save