summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-02-13 00:01:40 +0100
committerAlfred E. Heggestad <aeh@db.org>2014-02-13 00:01:40 +0100
commite4d71aca3cc153bbac505dac430b3b5574f15016 (patch)
treeedb7fb636945ed9cecbd7953d575508b7cc80a9b /src
parentb823b7d4481612b7047d7ad87911218893a2297b (diff)
remove fmt parameter from ausrc/auplay api
Diffstat (limited to 'src')
-rw-r--r--src/audio.c2
-rw-r--r--src/play.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/audio.c b/src/audio.c
index 548b5ac..dd43b0a 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -927,7 +927,6 @@ static int start_player(struct aurx *rx, struct audio *a)
struct auplay_prm prm;
- prm.fmt = AUFMT_S16LE;
prm.srate = srate_dsp;
prm.ch = channels_dsp;
prm.ptime = rx->ptime;
@@ -1004,7 +1003,6 @@ static int start_source(struct autx *tx, struct audio *a)
struct ausrc_prm prm;
- prm.fmt = AUFMT_S16LE;
prm.srate = srate_dsp;
prm.ch = channels_dsp;
prm.ptime = tx->ptime;
diff --git a/src/play.c b/src/play.c
index fcd06a2..9fceecf 100644
--- a/src/play.c
+++ b/src/play.c
@@ -237,7 +237,6 @@ int play_tone(struct play **playp, struct mbuf *tone, uint32_t srate,
if (err)
goto out;
- wprm.fmt = AUFMT_S16LE;
wprm.ch = ch;
wprm.srate = srate;
wprm.ptime = PTIME;