summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;