Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01d3acba authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix clang warnings in AudioFlinger

Change-Id: I0fa61025c979709ad7d655bc717df5f194b6089e
parent ec95f0e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -36,7 +36,7 @@ namespace android {


// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------


class effect_param_cblk_t;
struct effect_param_cblk_t;


// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------


+1 −1
Original line number Original line Diff line number Diff line
@@ -26,7 +26,7 @@ namespace android {


// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------


class audio_track_cblk_t;
struct audio_track_cblk_t;
class AudioRecordClientProxy;
class AudioRecordClientProxy;


// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
+1 −1
Original line number Original line Diff line number Diff line
@@ -27,7 +27,7 @@ namespace android {


// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------


class audio_track_cblk_t;
struct audio_track_cblk_t;
class AudioTrackClientProxy;
class AudioTrackClientProxy;
class StaticAudioTrackClientProxy;
class StaticAudioTrackClientProxy;


+2 −2
Original line number Original line Diff line number Diff line
@@ -60,8 +60,8 @@


namespace android {
namespace android {


class audio_track_cblk_t;
struct audio_track_cblk_t;
class effect_param_cblk_t;
struct effect_param_cblk_t;
class AudioMixer;
class AudioMixer;
class AudioBuffer;
class AudioBuffer;
class AudioResampler;
class AudioResampler;
+1 −1
Original line number Original line Diff line number Diff line
@@ -216,7 +216,7 @@ private:
        NBLog::Writer*  mLog;
        NBLog::Writer*  mLog;
        int32_t         reserved[1];
        int32_t         reserved[1];
        // FIXME allocate dynamically to save some memory when maxNumTracks < MAX_NUM_TRACKS
        // FIXME allocate dynamically to save some memory when maxNumTracks < MAX_NUM_TRACKS
        track_t         tracks[MAX_NUM_TRACKS]; __attribute__((aligned(32)));
        track_t         tracks[MAX_NUM_TRACKS] __attribute__((aligned(32)));
    };
    };


    // AudioBufferProvider that wraps a track AudioBufferProvider by a call to a downmix effect
    // AudioBufferProvider that wraps a track AudioBufferProvider by a call to a downmix effect
Loading