Explorar el Código

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot hace 8 meses
padre
commit
3a1d76d298
Se han modificado 1 ficheros con 6 adiciones y 2 borrados
  1. 6 2
      include/SDL3/SDL_audio.h

+ 6 - 2
include/SDL3/SDL_audio.h

@@ -688,8 +688,8 @@ extern SDL_DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(SDL_AudioDevic
  * and while each is associated with a physical device, there can be any
  * and while each is associated with a physical device, there can be any
  * number of logical devices on one physical device.
  * number of logical devices on one physical device.
  *
  *
- * For the most part, logical and physical IDs are interchangeable--if you
- * try to open a logical device, SDL understands to assign that effort to the
+ * For the most part, logical and physical IDs are interchangeable--if you try
+ * to open a logical device, SDL understands to assign that effort to the
  * underlying physical device, etc. However, it might be useful to know if an
  * underlying physical device, etc. However, it might be useful to know if an
  * arbitrary device ID is physical or logical. This function reports which.
  * arbitrary device ID is physical or logical. This function reports which.
  *
  *
@@ -699,6 +699,8 @@ extern SDL_DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(SDL_AudioDevic
  * \returns true if devid is a physical device, false if it is logical.
  * \returns true if devid is a physical device, false if it is logical.
  *
  *
  * \threadsafety It is safe to call this function from any thread.
  * \threadsafety It is safe to call this function from any thread.
+ *
+ * \since This function is available since SDL 3.2.0.
  */
  */
 extern SDL_DECLSPEC bool SDLCALL SDL_IsAudioDevicePhysical(SDL_AudioDeviceID devid);
 extern SDL_DECLSPEC bool SDLCALL SDL_IsAudioDevicePhysical(SDL_AudioDeviceID devid);
 
 
@@ -711,6 +713,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_IsAudioDevicePhysical(SDL_AudioDeviceID dev
  * \returns true if devid is a playback device, false if it is recording.
  * \returns true if devid is a playback device, false if it is recording.
  *
  *
  * \threadsafety It is safe to call this function from any thread.
  * \threadsafety It is safe to call this function from any thread.
+ *
+ * \since This function is available since SDL 3.2.0.
  */
  */
 extern SDL_DECLSPEC bool SDLCALL SDL_IsAudioDevicePlayback(SDL_AudioDeviceID devid);
 extern SDL_DECLSPEC bool SDLCALL SDL_IsAudioDevicePlayback(SDL_AudioDeviceID devid);