• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            runsisi

              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
              45 隨筆 :: 15 文章 :: 26 評論 :: 0 Trackbacks
            和上篇文章一樣,只不過是適合audacious 2.2版本

            diff -Nur audacious-mac-0.3.10.orig/src/mac.cpp audacious-mac-0.3.10.modified/src/mac.cpp
            --- audacious-mac-0.3.10.orig/src/mac.cpp    2007-10-15 17:21:33.000000000 +0800
            +++ audacious-mac-0.3.10.modified/src/mac.cpp    2010-02-06 21:38:34.276458793 +0800
            @@ 
            -11,7 +11,7 @@
             #include 
            <glib.h>
             
             
            const gchar *fmts[] = "mac""ape""apl", NULL };
            -
            +//modified by runsisi@163.com
             InputPlugin mac_plugin_info =
             
            {
                 NULL,
            @@ 
            -21,32 +21,28 @@
                 NULL,
                 mac_about,
                 NULL,
            +    NULL,
                 FALSE,
            +    FALSE,
            +    (gchar**)fmts,
            +    NULL,
                 NULL,
            +    mac_is_our_file_from_vfs,
                 NULL,
                 mac_play_file,
                 mac_stop,
                 mac_pause,
            -    mac_seek, 
            -    NULL,
            -    NULL,
            -    NULL,
            -    NULL,
            +    mac_seek,
            +    mac_mseek,
                 NULL,
                 NULL,
                 NULL,
                 NULL,
                 NULL,
                 mac_file_info_box,
            -    NULL,
                 mac_get_song_tuple,
                 NULL,
            -    NULL,
            -    mac_is_our_file_from_vfs,
            -    (gchar **)fmts,
            -    mac_mseek,
             }
            ;
            -
             InputPlugin 
            *mac_plugin_infolist[] = &mac_plugin_info, NULL };
             
             SIMPLE_INPUT_PLUGIN(mac_plugin_info, mac_plugin_infolist)
            @@ 
            -295,7 +291,7 @@
                          GTK_SIGNAL_FUNC(gtk_widget_destroyed), 
            &aboutbox);
             }
             
            -int mac_is_our_file_from_vfs(gchar *filename, VFSFile *file)
            +int mac_is_our_file_from_vfs(const gchar *filename, VFSFile *file)
             
            {
                 gchar magic[
            4];
                 
            const gchar *ext;
            @@ 
            -383,7 +379,7 @@
                 mac_mseek(playback, time 
            * 1000);
             }

             
            -Tuple *mac_get_song_tuple(gchar *uriname)
            +Tuple *mac_get_song_tuple(const gchar *uriname)
             
            {
                 
            int nRetVal = 0;
                 
            char *filename;
            diff 
            -Nur audacious-mac-0.3.10.orig/src/mac.h audacious-mac-0.3.10.modified/src/mac.h
            --- audacious-mac-0.3.10.orig/src/mac.h    2007-09-08 20:04:35.000000000 +0800
            +++ audacious-mac-0.3.10.modified/src/mac.h    2010-02-06 21:16:39.478580938 +0800
            @@ 
            -44,10 +44,10 @@
             #ifdef __cplusplus
             
            extern "C"{
             
            #endif
            -
            +//modified by runsisi@163.com
             static void mac_about();
             
            -static int mac_is_our_file_from_vfs(gchar *filename, VFSFile *file);
            +static int mac_is_our_file_from_vfs(const gchar *filename, VFSFile *file);
             
             
            static void mac_play_file(InputPlayback *data);
             
            @@ 
            -59,9 +59,9 @@
             
             
            static void mac_seek(InputPlayback *data, int time);
             
            -static Tuple *mac_get_song_tuple(gchar *filename);
            +static Tuple *mac_get_song_tuple(const gchar *filename);
             
            -void mac_file_info_box(char *filename);
            +void mac_file_info_box(const char *filename);
             
             #ifdef __cplusplus
             }


            runsisi@HUST
            posted on 2010-02-08 21:30 runsisi 閱讀(436) 評論(1)  編輯 收藏 引用

            評論

            # re: audacious 2.2 ape插件patch[未登錄] 2010-05-26 21:01 Henry
            兄弟,這個補丁在2.3下又不能用了,期待你的新補丁。  回復  更多評論
              

            久久亚洲精品无码AV红樱桃| 国产精品成人99久久久久 | 久久精品国产亚洲Aⅴ蜜臀色欲| 亚洲精品国产成人99久久| 国产免费福利体检区久久| 久久婷婷五月综合国产尤物app | 成人久久精品一区二区三区| 999久久久无码国产精品| 国产激情久久久久影院| 99久久免费国产精品特黄| 久久精品天天中文字幕人妻| 久久成人18免费网站| 久久综合香蕉国产蜜臀AV| 国产成人久久久精品二区三区| 久久久午夜精品| 久久99精品久久久久久9蜜桃| 无码人妻精品一区二区三区久久 | 久久精品无码一区二区三区日韩| 日产精品99久久久久久| 国产综合精品久久亚洲| 国产亚洲精品自在久久| 久久久久国产精品人妻| 日韩十八禁一区二区久久| 亚洲综合精品香蕉久久网97 | 久久国产精品久久国产精品| 亚洲AV无一区二区三区久久| 中文字幕久久亚洲一区| 免费精品久久久久久中文字幕 | 久久精品国产亚洲网站| 97久久超碰国产精品2021| 久久99久国产麻精品66| 中文精品99久久国产| 四虎国产精品成人免费久久| 国产精品成人无码久久久久久| 国产成人久久精品激情| 国产高潮国产高潮久久久| 午夜欧美精品久久久久久久 | 久久亚洲国产欧洲精品一| 99久久久国产精品免费无卡顿| 天天爽天天狠久久久综合麻豆| 国产成人无码精品久久久性色 |