Okay, I'd like to re-send you the file in zip format~<br>And before your replay, I'll do more experimentation.<br><br>Thanks ^_^<br><br><div class="gmail_quote">2008/11/14 Benjamin Otte <span dir="ltr"><<a href="mailto:otte@gnome.org">otte@gnome.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Fri, Nov 14, 2008 at 2:55 AM, seer xillion <<a href="mailto:seerxillion@gmail.com">seerxillion@gmail.com</a>> wrote:<br>
> I am a freshman to Alsa and Pulse, how can I make swfdec playing with sounds<br>
> on Windows?<br>
><br>
</div>As I haven't ever looked at porting Swfdec to Windows and because I<br>
don't have an idea of what you want, I'm not exactly sure what the<br>
best way is.<br>
If you just want to get swfdec working with gtk on windows, then<br>
writing a swfdec_playback_windows.c file (as you tried) sounds like a<br>
good idea. Otherwise you probably want to write a libswfdec-windows th<br>
<div class="Ih2E3d"><br>
> I've tried to modify the file "swfdec_playback_alsa.c" and let it write the<br>
> audio samples to a PCM file.<br>
><br>
> This will indeed write the audio samples to a file, even if not having the<br>
> "Play" button being clicked.<br>
><br>
</div>As you sent a rar file, which my Ubuntu box couldn't open, I couldn't<br>
look at what you did, please use a zip file next time. But I guess<br>
that writing to a file will not stop, because you haven't set it up as<br>
a non-blocking file, which is what the alsa backend does: immediately<br>
fill the audio buffer and refill it whenever it's not full anymore.<br>
<br>
Cheers,<br>
<font color="#888888">Benjamin<br>
</font></blockquote></div><br>