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

@@ -20,7 +20,7 @@
#ifndef MPD_PLAYER_H
#define MPD_PLAYER_H
#include "audio_format.h"
#include "AudioFormat.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
@@ -85,7 +85,7 @@ enum player_error {
struct player_status {
enum player_state state;
uint16_t bit_rate;
struct audio_format audio_format;
AudioFormat audio_format;
float total_time;
float elapsed_time;
};
@@ -130,7 +130,7 @@ struct player_control {
GError *error;
uint16_t bit_rate;
struct audio_format audio_format;
AudioFormat audio_format;
float total_time;
float elapsed_time;