Searched refs:trackHolder (Results 1 – 2 of 2) sorted by relevance
70 BtifAvrcpAudioTrack* trackHolder = new BtifAvrcpAudioTrack; in BtifAvrcpAudioTrackCreate() local71 CHECK(trackHolder != NULL); in BtifAvrcpAudioTrackCreate()72 trackHolder->stream = stream; in BtifAvrcpAudioTrackCreate()73 trackHolder->bitsPerSample = bitsPerSample; in BtifAvrcpAudioTrackCreate()74 trackHolder->channelCount = channelCount; in BtifAvrcpAudioTrackCreate()75 trackHolder->bufferLength = in BtifAvrcpAudioTrackCreate()76 trackHolder->channelCount * AAudioStream_getBufferSizeInFrames(stream); in BtifAvrcpAudioTrackCreate()77 trackHolder->gain = kMaxTrackGain; in BtifAvrcpAudioTrackCreate()78 trackHolder->buffer = new float[trackHolder->bufferLength](); in BtifAvrcpAudioTrackCreate()83 return (void*)trackHolder; in BtifAvrcpAudioTrackCreate()[all …]
30 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local32 EXPECT_EQ(trackHolder->gain, 1.0f); in TEST_F()39 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local41 EXPECT_EQ(trackHolder->gain, 0.0f); in TEST_F()48 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local51 EXPECT_EQ(trackHolder->gain, 1.0f); in TEST_F()58 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local61 EXPECT_EQ(trackHolder->gain, 0.0f); in TEST_F()73 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local77 trackHolder->stream = stream.get(); in TEST_F()[all …]