SDL_mixer.h
changeset 718 fb0562cc1559
parent 712 7e59d684b070
child 724 810eeaa24633
equal deleted inserted replaced
717:27eb690edafc 718:fb0562cc1559
   130 /* The internal format for a music chunk interpreted via mikmod */
   130 /* The internal format for a music chunk interpreted via mikmod */
   131 typedef struct _Mix_Music Mix_Music;
   131 typedef struct _Mix_Music Mix_Music;
   132 
   132 
   133 /* Open the mixer with a certain audio format */
   133 /* Open the mixer with a certain audio format */
   134 extern DECLSPEC int SDLCALL Mix_OpenAudio(int frequency, Uint16 format, int channels, int chunksize);
   134 extern DECLSPEC int SDLCALL Mix_OpenAudio(int frequency, Uint16 format, int channels, int chunksize);
       
   135 
       
   136 /* Open the mixer with specific device and certain audio format */
       
   137 extern DECLSPEC int SDLCALL Mix_OpenAudioDevice(int frequency, Uint16 format, int channels, int chunksize, const char* device, int allowed_changes);
   135 
   138 
   136 /* Dynamically change the number of channels managed by the mixer.
   139 /* Dynamically change the number of channels managed by the mixer.
   137    If decreasing the number of channels, the upper channels are
   140    If decreasing the number of channels, the upper channels are
   138    stopped.
   141    stopped.
   139    This function returns the new number of allocated channels.
   142    This function returns the new number of allocated channels.