Diffstat (limited to 'core/multimedia/opieplayer/libflash/libflashplugin.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/libflash/libflashplugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/libflash/libflashplugin.cpp b/core/multimedia/opieplayer/libflash/libflashplugin.cpp index 538c695..78cf555 100644 --- a/core/multimedia/opieplayer/libflash/libflashplugin.cpp +++ b/core/multimedia/opieplayer/libflash/libflashplugin.cpp @@ -146,17 +146,21 @@ bool LibFlashPlugin::open( const QString& fileName ) { do status = FlashParse(file, 0, buffer, size); while (status & FLASH_PARSE_NEED_DATA); free(buffer); FlashGetInfo(file, &fi); //FlashSettings(flashHandle, PLAYER_LOOP); FlashGraphicInit(file, fd); +#ifdef QT_QWS_DEVFS + FlashSoundInit(file, "/dev/sound/dsp"); +#else FlashSoundInit(file, "/dev/dsp"); +#endif FlashSetGetUrlMethod(file, showUrl, 0); FlashSetGetSwfMethod(file, getSwf, (void*)file); printf("opened file\n"); } // If decoder doesn't support audio then return 0 here bool LibFlashPlugin::audioSetSample( long sample, int stream ) { return TRUE; } |