diff options
author | Alfred E. Heggestad <aeh@db.org> | 2014-02-13 00:01:40 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2014-02-13 00:01:40 +0100 |
commit | e4d71aca3cc153bbac505dac430b3b5574f15016 (patch) | |
tree | edb7fb636945ed9cecbd7953d575508b7cc80a9b /src | |
parent | b823b7d4481612b7047d7ad87911218893a2297b (diff) |
remove fmt parameter from ausrc/auplay api
Diffstat (limited to 'src')
-rw-r--r-- | src/audio.c | 2 | ||||
-rw-r--r-- | src/play.c | 1 |
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; @@ -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; |