Displaying 14 results from an estimated 14 matches for "buffer_tim".
Did you mean:
buffer_time
2008 Nov 07
0
fix focus and alsa for gps software
...+++ wine-1.1.7/dlls/winealsa.drv/waveout.c 2008-11-05 19:49:37.000000000 +0100
@@ -577,8 +577,8 @@ static DWORD wodOpen(WORD wDevID, LPWAVE
snd_pcm_access_t access;
snd_pcm_format_t format = -1;
unsigned int rate;
- unsigned int buffer_time = 120000;
- unsigned int period_time = 20000;
+ //unsigned int buffer_time = 120000;
+ //unsigned int period_time = 20000;
snd_pcm_uframes_t buffer_size;
snd_pcm_uframes_t period_size;
int...
2009 Oct 06
0
[ao] Two patches for libao2
...kages.
Cheers,
John
On Sun, Aug 30, 2009 at 11:52:01PM +0300, Heikki Orsila wrote:
> Please consider these two (Git) patches for inclusion into libao2.
>
> 1. Trivial fix
>
> 2. Make driver specific options configurable
> - With this patch, one can for example set ALSA's buffer_time
> option for all programs that use libao
>
> --
> Heikki Orsila
> heikki.orsila at iki.fi
> http://www.iki.fi/shd
> From 19f07a23f4f9e641e9d208930a346c3642c2869b Mon Sep 17 00:00:00 2001
> From: Heikki Orsila <heikki.orsila at iki.fi>
> Date: Sun, 30 Aug 2009...
2008 May 14
2
Surround 6ch sound on Wine?
...annels and I don't get any sound.
Code:
pcm.!default {
type dmix
ipc_key 1024
ipc_key_add_uid false # let multiple users share
ipc_perm 0660 # IPC permissions (octal, default 0600)
slave {
pcm "hw:0,0" # see below
rate 48000
channels 6
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm.asym51 {
type asym
playback.pcm "dmixs51"
capture.pcm "hw:0,0" # this might be "dsnoop:0"
}
pcm.dsp0 {
type plug
slave.pcm "asym51"
}
Wine can support 6 channel sound? Ho...
2007 Mar 14
0
10 commits - libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loadertarget.c
...ibswfdec/swfdec_js_net_stream.c b/libswfdec/swfdec_js_net_stream.c
index f92634c..46cb1dc 100644
--- a/libswfdec/swfdec_js_net_stream.c
+++ b/libswfdec/swfdec_js_net_stream.c
@@ -43,8 +43,24 @@ swfdec_js_net_stream_play (JSContext *cx
return JS_TRUE;
}
+static JSBool
+swfdec_js_net_stream_set_buffer_time (JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
+{
+ SwfdecNetStream *stream;
+ double d;
+
+ stream = swfdec_scriptable_from_object (cx, obj, SWFDEC_TYPE_NET_STREAM);
+ if (stream == NULL)
+ return JS_TRUE;
+ if (!JS_ValueToNumber (cx, argv[0], &d))
+ return JS...
2004 Feb 03
1
starcraft problem
Hi all, i have just finished my installation of wine as normal user (see
below). Notepad is running fine, so i decided to run something more fun,
starcraft.
The installation program works, even with sound and all, exept when i decide
to run the previews. The previews run rine, but whithout sound. When i return
to the installation program the sound is gone. But anyway, it does it's yob,
2016 Dec 21
1
Re: Audio in Windows 10 VM is distorted. Using ALSA.
Hi,
I found the main reason for sound distortions on my system is guest timer
configuration.
The working one is:
<clock offset="localtime">
<timer name="hypervclock" present="yes"/>
<timer name="hpet" present="no"/>
<timer name="rtc" present="yes" track="guest"
2008 May 24
2
Wine and ALSA
...t hammertime ~ $ cat .asoundrc
pcm.dmix8 {
type dmix
ipc_key 12354
ipc_key_add_uid true
slave {
pcm "hw:1,0"
rate 48000
channels 8
period_time 0
period_size 1024
buffer_time 0
buffer_size 8192
}
}
pcm.ch71dup {
type route
slave.pcm dmix8
slave.channels 8
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.0.5 1
ttable.0.6 1
ttable.1.7 1...
2007 Aug 01
0
9 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_frame.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loader_internal.h libswfdec/swfdec_loadertarget.c libswfdec/swfdec_loadertarget.h libswfdec/swfdec_movie.c
..._stream_loader_target_recheck (SwfdecNetStream *stream)
+{
+ if (stream->buffering) {
+ guint first, last;
+ if (swfdec_flv_decoder_get_video_info (stream->flvdecoder, &first, &last)) {
+ guint current = MAX (first, stream->current_time);
+ if (current + stream->buffer_time <= last) {
+ swfdec_net_stream_video_goto (stream, current);
+ stream->buffering = FALSE;
+ swfdec_net_stream_onstatus (stream, SWFDEC_AS_STR_NetStream_Buffer_Full,
+ SWFDEC_AS_STR_status);
+ }
+ } else {
+ SWFDEC_ERROR ("no video stream, how do we update buffering?&quo...
2004 Feb 04
0
wine-20040121 & starcraft, a collection of dumps
...lse double=false
halfd=false joint=false
trace:wave:ALSA_TraceParameters access=MMAP_INTERLEAVED
trace:wave:ALSA_TraceParameters format=S8
trace:wave:ALSA_TraceParameters channels=0
trace:wave:ALSA_TraceParameters buffer_size=0
trace:wave:ALSA_TraceParameters rate=0
trace:wave:ALSA_TraceParameters buffer_time=0
trace:wave:ALSA_TraceParameters periods=0
trace:wave:ALSA_TraceParameters period_size=0
trace:wave:ALSA_TraceParameters period_time=0
trace:wave:ALSA_TraceParameters tick_time=1000
trace:wave:ALSA_WaveInit Configured with dwFmts=00000888 dwSupport=0000006c
trace:wave:ALSA_InitializeVolumeCtl...
2007 Mar 20
0
5 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_net_stream.c
...quot;NetStream.Buffer.Flush", "status");
swfdec_net_stream_video_goto (stream, stream->current_time);
stream->buffering = FALSE;
+ if (swfdec_flv_decoder_get_video_info (stream->flvdecoder, &first, &last) &&
+ stream->current_time + stream->buffer_time <= last) {
+ swfdec_net_stream_onstatus (stream, "NetStream.Buffer.Full", "status");
+ }
}
if (recheck) {
if (stream->buffering) {
diff-tree b5cf5799383500fc93aca5aaf2b6e58602c677c7 (from 6363187dd9b03c0c32bbce14ba5de298deb3533d)
Author: Benjamin Otte &...
2007 Mar 22
0
11 commits - libswfdec/swfdec_color.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_net_stream.h libswfdec/swfdec_pattern.c libswfdec/swfdec_script.c NEWS test/trace
...e: Thu Mar 22 16:11:08 2007 +0100
implement NetStream.seek
diff --git a/libswfdec/swfdec_js_net_stream.c b/libswfdec/swfdec_js_net_stream.c
index a977ea8..873f673 100644
--- a/libswfdec/swfdec_js_net_stream.c
+++ b/libswfdec/swfdec_js_net_stream.c
@@ -80,9 +80,25 @@ swfdec_js_net_stream_set_buffer_time (JS
return JS_TRUE;
}
+static JSBool
+swfdec_js_net_stream_seek (JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
+{
+ SwfdecNetStream *stream;
+ double d;
+
+ stream = swfdec_scriptable_from_object (cx, obj, SWFDEC_TYPE_NET_STREAM);
+ if (stream == NULL)
+ return J...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...AS_STR_NETSTREAM_BUFFER_FLUSH,
+ SWFDEC_AS_STR_STATUS);
swfdec_net_stream_video_goto (stream, stream->current_time);
stream->buffering = FALSE;
if (swfdec_flv_decoder_get_video_info (stream->flvdecoder, &first, &last) &&
stream->current_time + stream->buffer_time <= last) {
- swfdec_net_stream_onstatus (stream, "NetStream.Buffer.Full", "status");
+ swfdec_net_stream_onstatus (stream, SWFDEC_AS_STR_NETSTREAM_BUFFER_FULL,
+ SWFDEC_AS_STR_STATUS);
}
}
if (recheck) {
@@ -283,7 +277,8 @@ out:
if (current + stream-...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...E_AS_OBJECT,
@@ -451,6 +459,7 @@ swfdec_net_stream_init (SwfdecNetStream *stream)
{
stream->input.connect = swfdec_net_stream_input_connect;
stream->input.disconnect = swfdec_net_stream_input_disconnect;
+ stream->input.get_image = swfdec_net_stream_input_get_image;
stream->buffer_time = 100; /* msecs */
}
diff --git a/libswfdec/swfdec_video.c b/libswfdec/swfdec_video.c
index 768babd..520960c 100644
--- a/libswfdec/swfdec_video.c
+++ b/libswfdec/swfdec_video.c
@@ -63,27 +63,52 @@ typedef struct {
SwfdecVideo * video;
gpointer decoder;
guint current_frame;
+ cairo_...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...TR_NetStream_Buffer_Flush,
SWFDEC_AS_STR_status);
- swfdec_net_stream_video_goto (stream, stream->current_time);
- stream->buffering = FALSE;
- if (swfdec_flv_decoder_get_video_info (stream->flvdecoder, &first, &last) &&
- stream->current_time + stream->buffer_time <= last) {
- swfdec_net_stream_onstatus (stream, SWFDEC_AS_STR_NetStream_Buffer_Full,
+ swfdec_net_stream_video_goto (ns, ns->current_time);
+ ns->buffering = FALSE;
+ if (swfdec_flv_decoder_get_video_info (ns->flvdecoder, &first, &last) &&
+ ns->current_t...