Home
last modified time | relevance | path

Searched refs:trackHolder (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/btif/src/
Dbtif_avrcp_audio_track.cc70 BtifAvrcpAudioTrack* trackHolder = new BtifAvrcpAudioTrack; in BtifAvrcpAudioTrackCreate() local
71 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 …]
/packages/modules/Bluetooth/system/btif/test/
Dbtif_avrcp_audio_track_test.cc30 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
32 EXPECT_EQ(trackHolder->gain, 1.0f); in TEST_F()
39 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
41 EXPECT_EQ(trackHolder->gain, 0.0f); in TEST_F()
48 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
51 EXPECT_EQ(trackHolder->gain, 1.0f); in TEST_F()
58 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
61 EXPECT_EQ(trackHolder->gain, 0.0f); in TEST_F()
73 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
77 trackHolder->stream = stream.get(); in TEST_F()
[all …]