[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Two Flash questions: audio and extract links



First question is about the audio.  I installed swf-player to play Flash
locally.  The image works but there's no sound.  swf-player/README says:

   - Sound output is handled by SDL, so the target device can be
      chosen by setting the SDL_AUDIODRIVER environment variable.

But I'm not sure what that should be set to.  

Running strace with swf_play does show:

  open("/dev/dsp", O_WRONLY|O_NONBLOCK)   = 5
  open("/dev/dsp", O_WRONLY|O_NONBLOCK)   = 5
  open("/dev/dsp", O_WRONLY)              = 5

Below is more detailed strace output:


Second questions: anyone know a way to extrace out *links* from Flash?
This is needed to spider a site that uses a Flash intro page.



When running swf_play (and audio doesn't work):

[...]
open("/dev/dsp", O_WRONLY|O_NONBLOCK)   = 5
open("/dev/dsp", O_WRONLY|O_NONBLOCK)   = 5
ioctl(5, SNDCTL_DSP_GETFMTS, 0xbffff5fc) = 0
ioctl(5, SNDCTL_DSP_SETFMT, 0xbffff5fc) = 0
ioctl(5, SOUND_PCM_READ_CHANNELS, 0xbffff5fc) = 0
open("/dev/dsp", O_WRONLY)              = 5
ioctl(5, SNDCTL_DSP_SETFRAGMENT, 0xbffff5c8) = 0
ioctl(5, SNDCTL_DSP_SETFMT, 0xbffff5c4) = 0
ioctl(5, SOUND_PCM_READ_CHANNELS, 0xbffff5c4) = 0
ioctl(5, SOUND_PCM_READ_RATE, 0xbffff5c4) = 0
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [64])                = 0
ioctl(3, FIONREAD, [32])                = 0
ioctl(3, FIONREAD, [512])               = 0
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
DEBUG: [27,SoundStreamHead2] tag "SoundStreamHead2" (45) ignored
[...]


-- 
Bill Moseley
moseley@hank.org



Reply to: