audio_format: convert to C++

This commit is contained in:
Max Kellermann
2013-08-03 21:00:50 +02:00
parent 67f591a9ce
commit d1e7b4e381
121 changed files with 1251 additions and 1275 deletions

View File

@@ -29,7 +29,7 @@
#include "replay_gain_info.h"
#include "gerror.h"
struct audio_format;
struct AudioFormat;
struct music_buffer;
struct music_chunk;
struct player_control;
@@ -76,14 +76,13 @@ audio_output_all_enable_disable(void);
/**
* Opens all audio outputs which are not disabled.
*
* @param audio_format the preferred audio format, or NULL to reuse
* the previous format
* @param audio_format the preferred audio format
* @param buffer the #music_buffer where consumed #music_chunk objects
* should be returned
* @return true on success, false on failure
*/
bool
audio_output_all_open(const struct audio_format *audio_format,
audio_output_all_open(AudioFormat audio_format,
struct music_buffer *buffer,
GError **error_r);