Loading media/libaudioclient/AudioTrack.cpp +2 −8 Original line number Diff line number Diff line Loading @@ -250,10 +250,7 @@ AudioTrack::AudioTrack( mPreviousSchedulingGroup(SP_DEFAULT), mPausedPosition(0) { mAttributes.content_type = AUDIO_CONTENT_TYPE_UNKNOWN; mAttributes.usage = AUDIO_USAGE_UNKNOWN; mAttributes.flags = 0x0; strcpy(mAttributes.tags, ""); mAttributes = AUDIO_ATTRIBUTES_INITIALIZER; (void)set(streamType, sampleRate, format, channelMask, frameCount, flags, cbf, user, notificationFrames, Loading Loading @@ -286,10 +283,7 @@ AudioTrack::AudioTrack( mPausedPosition(0), mSelectedDeviceId(AUDIO_PORT_HANDLE_NONE) { mAttributes.content_type = AUDIO_CONTENT_TYPE_UNKNOWN; mAttributes.usage = AUDIO_USAGE_UNKNOWN; mAttributes.flags = 0x0; strcpy(mAttributes.tags, ""); mAttributes = AUDIO_ATTRIBUTES_INITIALIZER; (void)set(streamType, sampleRate, format, channelMask, 0 /*frameCount*/, flags, cbf, user, notificationFrames, Loading media/libmedia/include/media/TypeConverter.h +2 −2 Original line number Diff line number Diff line Loading @@ -305,8 +305,8 @@ static inline std::string toString(const audio_attributes_t& attributes) result << "{ Content type: " << toString(attributes.content_type) << " Usage: " << toString(attributes.usage) << " Source: " << toString(attributes.source) << " Flags: " << attributes.flags << " Tags: " << attributes.tags << std::hex << " Flags: 0x" << attributes.flags << std::dec << " Tags: " << attributes.tags << " }"; return result.str(); Loading Loading
media/libaudioclient/AudioTrack.cpp +2 −8 Original line number Diff line number Diff line Loading @@ -250,10 +250,7 @@ AudioTrack::AudioTrack( mPreviousSchedulingGroup(SP_DEFAULT), mPausedPosition(0) { mAttributes.content_type = AUDIO_CONTENT_TYPE_UNKNOWN; mAttributes.usage = AUDIO_USAGE_UNKNOWN; mAttributes.flags = 0x0; strcpy(mAttributes.tags, ""); mAttributes = AUDIO_ATTRIBUTES_INITIALIZER; (void)set(streamType, sampleRate, format, channelMask, frameCount, flags, cbf, user, notificationFrames, Loading Loading @@ -286,10 +283,7 @@ AudioTrack::AudioTrack( mPausedPosition(0), mSelectedDeviceId(AUDIO_PORT_HANDLE_NONE) { mAttributes.content_type = AUDIO_CONTENT_TYPE_UNKNOWN; mAttributes.usage = AUDIO_USAGE_UNKNOWN; mAttributes.flags = 0x0; strcpy(mAttributes.tags, ""); mAttributes = AUDIO_ATTRIBUTES_INITIALIZER; (void)set(streamType, sampleRate, format, channelMask, 0 /*frameCount*/, flags, cbf, user, notificationFrames, Loading
media/libmedia/include/media/TypeConverter.h +2 −2 Original line number Diff line number Diff line Loading @@ -305,8 +305,8 @@ static inline std::string toString(const audio_attributes_t& attributes) result << "{ Content type: " << toString(attributes.content_type) << " Usage: " << toString(attributes.usage) << " Source: " << toString(attributes.source) << " Flags: " << attributes.flags << " Tags: " << attributes.tags << std::hex << " Flags: 0x" << attributes.flags << std::dec << " Tags: " << attributes.tags << " }"; return result.str(); Loading