Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2003-09-30 04:42:14 +0400
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2003-09-30 04:42:14 +0400
commit071dbacb5f830ca706e96d62100ffeed766839a0 (patch)
tree022895707e842c6a55f04ec52ecbd7135f88d291
parent4a6fa8d6fd1283df196ebd9a67fb1514618406ba (diff)
fixed Solaris sound support
git-svn-id: http://svn.xiph.org/branches/rel-1-0-branch/speex@5382 0101bb08-14d6-0310-b084-bc0e0c8e3800
-rw-r--r--src/speexdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/speexdec.c b/src/speexdec.c
index 689ea41..1c1898c 100644
--- a/src/speexdec.c
+++ b/src/speexdec.c
@@ -194,6 +194,7 @@ FILE *out_file_open(char *outFile, int rate, int *channels)
#endif
info.play.encoding = AUDIO_ENCODING_SLINEAR;
info.play.precision = 16;
+ info.play.sample_rate = rate;
info.play.channels = *channels;
if (ioctl(audio_fd, AUDIO_SETINFO, &info) < 0)