music_flac.h
changeset 542 3de4970b36d4
parent 521 565549e046b0
child 601 05123263dab3
equal deleted inserted replaced
541:323b314739ef 542:3de4970b36d4
    64 extern int FLAC_init(SDL_AudioSpec *mixer);
    64 extern int FLAC_init(SDL_AudioSpec *mixer);
    65 
    65 
    66 /* Set the volume for a FLAC stream */
    66 /* Set the volume for a FLAC stream */
    67 extern void FLAC_setvolume(FLAC_music *music, int volume);
    67 extern void FLAC_setvolume(FLAC_music *music, int volume);
    68 
    68 
    69 /* Load a FLAC stream from the given file */
       
    70 extern FLAC_music *FLAC_new(const char *file);
       
    71 
       
    72 /* Load an FLAC stream from an SDL_RWops object */
    69 /* Load an FLAC stream from an SDL_RWops object */
    73 extern FLAC_music *FLAC_new_RW(SDL_RWops *rw, int freerw);
    70 extern FLAC_music *FLAC_new_RW(SDL_RWops *rw, int freerw);
    74 
    71 
    75 /* Start playback of a given FLAC stream */
    72 /* Start playback of a given FLAC stream */
    76 extern void FLAC_play(FLAC_music *music);
    73 extern void FLAC_play(FLAC_music *music);