comparison src/sid/xs_sidplay1.cc @ 463:1e5cb7a00cb0 trunk

[svn] - added is_our_file_from_vfs function to sid, for both libsidplay v1 and v2
author giacomo
date Fri, 19 Jan 2007 10:55:44 -0800
parents c488d191b528
children 6c3c7b841382
comparison
equal deleted inserted replaced
462:c488d191b528 463:1e5cb7a00cb0
62 62
63 if ( !strncmp( magic_bytes , "PSID" , 4 ) ) 63 if ( !strncmp( magic_bytes , "PSID" , 4 ) )
64 return TRUE; 64 return TRUE;
65 else 65 else
66 return FALSE; 66 return FALSE;
67 return FALSE;
68 } 67 }
69 68
70 69
71 static gint xs_sidplay1_load_file_in_buffer( gchar * pcFilename , gchar ** buffer , glong * buffer_size ) 70 static gint xs_sidplay1_load_file_in_buffer( gchar * pcFilename , gchar ** buffer , glong * buffer_size )
72 { 71 {
122 121
123 return result; 122 return result;
124 } 123 }
125 124
126 125
126 /* Check if we can play the given file (VFS)
127 */
128 gboolean xs_sidplay1_isourfile_vfs(gchar * pcFilename, VFSFile * fp)
129 {
130 return xs_sidplay1_detect_by_content( fp );
131 }
132
133
127 /* Initialize SIDPlay1 134 /* Initialize SIDPlay1
128 */ 135 */
129 gboolean xs_sidplay1_init(t_xs_status * myStatus) 136 gboolean xs_sidplay1_init(t_xs_status * myStatus)
130 { 137 {
131 gint tmpFreq; 138 gint tmpFreq;