search for: fmt_s16_le

Displaying 4 results from an estimated 4 matches for "fmt_s16_le".

Did you mean: afmt_s16_le
2004 Aug 06
0
[PATCH] speex-xmms endian problems fixed
...8/libspeex.c Mon Sep 23 06:28:37 2002 +++ speex-xmms-0.8-works/libspeex.c Thu Apr 17 12:41:12 2003 @@ -328,7 +328,7 @@ speex_ip.set_info(speex_fs->title, speex_fs->length, -1, speex_fs->freq, speex_fs->channels); - if (speex_ip.output->open_audio(FMT_S16_LE, speex_fs->freq, speex_fs->channels) == 0) + if (speex_ip.output->open_audio(FMT_S16_NE, speex_fs->freq, speex_fs->channels) == 0) { fprintf(stderr, SELF ": audio error\n"); return; @@ -427,7 +427,7 @@...
2000 Sep 24
4
Possible memory leak / xmms input plugin
Hi list, It seems that when playing several OggVorbis files under xmms, there is a memory leak. It's a rather annoying problem because when you have a playlist of 100+ files, xmms will at the end eat something like 100M or more.. Such a memory leak have been reported inside xmms-1.2.2 code and I could see it playing Ogg files and mp3 files ; upgrading to 1.2.3 solves the problem with mp3
1999 Oct 11
2
XMMS plugin patch
...audio bug in the XMMS plugin. A small follows below: --- vorbis.c.orig Mon Oct 11 04:05:14 1999 +++ vorbis.c Mon Oct 11 13:47:42 1999 @@ -161,7 +161,7 @@ /* XXX figure out something to put for the bitrate and how to calculate the length of the stream */ vorbis_ip.output->open_audio(FMT_S16_LE, od.vi.rate, od.vi.channels); - vorbis_ip.set_info(filename, 128000, 0, od.vi.rate, od.vi.channels); + vorbis_ip.set_info(filename, -1, 128000, od.vi.rate, od.vi.channels); while(i < 2) { while(i < 2 && ogg_sync_pageout(&od.oy, &od.og) == 1) { @@ -219,9 +21...
2004 Sep 10
0
http streaming in the xmms plugin
...le_rate = metadata->data.stream_info.sample_rate; + + #ifdef FLAC__DO_DITHER + if(file_info->bits_per_sample == 8) { + file_info->sample_format = FMT_S8; + } + else if(file_info->bits_per_sample == 16 || file_info->bits_per_sample == 24) { + file_info->sample_format = FMT_S16_LE; + } + else { + /*@@@ need some error here like wa2: MessageBox(mod_.hMainWindow, "ERROR: plugin can only handle 8/16/24-bit samples\n", "ERROR: plugin can only handle 8/16/24-bit samples", 0); */ + file_info->abort_flag = true; + return; + } + #else + if(fil...