16 Dec
2013
16 Dec
'13
5:14 p.m.
Signed-off-by: Vinod Koul vinod.koul@intel.com --- cplay.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cplay.c b/cplay.c index 10c5424..c46577a 100644 --- a/cplay.c +++ b/cplay.c @@ -226,7 +226,7 @@ void play_samples(char *name, unsigned int card, unsigned int device, codec.id = SND_AUDIOCODEC_MP3; codec.ch_in = channels; codec.ch_out = channels; - codec.sample_rate = compress_get_alsa_rate(rate); + codec.sample_rate = rate; if (!codec.sample_rate) { fprintf(stderr, "invalid sample rate %d\n", rate); fclose(file);
--
1.7.0.4