search for: written_time

Displaying 5 results from an estimated 5 matches for "written_time".

2004 Sep 10
2
getting framesize in client
...nfo_.title, file_info_.length_in_msec, file_info_.sample_rate * file_info_.channels * file_info_.bits_per_sample, file_info_.sample_rate, file_info_.channels); file_info_.seek_to_in_sec = -1; file_info_.play_thread_open = true; @@ -304,6 +306,10 @@ void *play_loop_(void *arg) { + unsigned written_time_last = 0, bh_index_last_w = 0, bh_index_last_o = BITRATE_HIST_SIZE; + FLAC__uint64 decode_position_last = 0; + + (void)arg; while(file_info_.is_playing) { @@ -326,7 +332,8 @@ const unsigned n = min(wide_samples_in_reservoir_, SAMPLES_PER_WRITE); const unsigned delta = n * channels;...
2004 Sep 10
0
getting framesize in client
...info_.title, file_info_.length_in_msec, file_info_.sample_rate * file_info_.channels * file_info_.bits_per_sample, file_info_.sample_rate, file_info_.channels); file_info_.seek_to_in_sec = -1; file_info_.play_thread_open = true; @@ -304,6 +306,9 @@ void *play_loop_(void *arg) { + unsigned written_time_last = 0, bh_index_last_w = 0, bh_index_last_o = BITRATE_HIST_SIZE; + FLAC__uint64 decode_position_last = 0; + (void)arg; while(file_info_.is_playing) { @@ -326,7 +331,8 @@ const unsigned n = min(wide_samples_in_reservoir_, SAMPLES_PER_WRITE); const unsigned delta = n * channels;...
2004 Aug 06
0
[PATCH] speex-xmms endian problems fixed
...while (speex_ip.output->buffer_free() < (speex_fs->framesize * sizeof(short)) && speex_fs->playing) xmms_usleep(10000); - speex_ip.add_vis_pcm(speex_ip.output->written_time(), FMT_S16_LE, speex_fs->channels, speex_fs->framesize * sizeof(short), &output); + speex_ip.add_vis_pcm(speex_ip.output->written_time(), FMT_S16_NE, speex_fs->channels, speex_fs->framesize * sizeof(short), &output);...
2004 Sep 10
3
getting framesize in client
On Fri, Nov 08, 2002 at 12:39:52PM -0800, Josh Coalson wrote: > --- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote: > > I have few notes: > > > > It seems there is changed API in CVS again. So, what about adding > > function like > > unsigned FLAC__format_frame_size(const FLAC__Frame *frame) > > which returns size of the frame in bytes. This
2004 Sep 10
4
xmms-plugin problems
...>guts->samples_decoded = 0; Second problem: Visual plugins are slow. It's caused by flac_ip.add_vis_pcm, it gets too many samples (4.5Ksamples) at one call. Solution is in calling this with only 512samples. Against plugin.c 301,305c301,312 < flac_ip.add_vis_pcm(flac_ip.output->written_time(), file_info_.sample_format, file_info_.channels, bytes, reservoir_); < while(flac_ip.output->buffer_free() < (int)bytes && file_info_.is_playing && file_info_.seek_to_in_sec == -1) < xmms_usleep(10000); < if(file_info_.is_playing && file_info_.se...