Searched refs:track (Results 1 - 25 of 43) sorted by last modified time

12

/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h2031 SLuint16 track
2041 SLuint16 track
2107 SLuint16 track,
2112 SLuint16 track,
2117 SLuint16 track,
2122 SLuint16 track,
/frameworks/wilhelm/src/itf/
H A DIMIDIMuteSolo.c126 static SLresult IMIDIMuteSolo_SetTrackMute(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean mute) argument
132 if (!(track < thiz->mTrackCount)) {
135 SLuint32 mask = 1 << track;
149 static SLresult IMIDIMuteSolo_GetTrackMute(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean *pMute) argument
155 if (!(track < thiz->mTrackCount) || NULL == pMute) {
161 *pMute = (mask >> track) & 1;
169 static SLresult IMIDIMuteSolo_SetTrackSolo(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean solo) argument
175 if (!(track < thiz->mTrackCount)) {
178 SLuint32 mask = 1 << track; interface_lock_exclusive(thiz);
191 static SLresult IMIDIMuteSolo_GetTrackSolo(SLMIDIMuteSoloItf self, SLuint16 track, SLboolea argument
[all...]
H A DIOutputMixExt.c43 /** \brief Check whether a track has any data for us to read */
45 static SLboolean track_check(Track *track) argument
47 assert(NULL != track);
50 CAudioPlayer *audioPlayer = track->mAudioPlayer;
53 // track is initialized
58 assert(audioPlayer->mTrack == track);
60 SLuint32 framesMixed = track->mFramesMixed;
62 track->mFramesMixed = 0;
78 track->mReader = NULL;
79 track
200 Track *track = &thiz->mTracks[i]; local
344 Track *track = &thiz->mTracks[0]; local
383 Track *track = NULL; local
[all...]
/frameworks/wilhelm/src/objects/
H A DCAudioPlayer.c79 // Safe to proceed immediately if a track has not yet been assigned
80 Track *track = thiz->mTrack; local
81 if (NULL == track) {
84 CAudioPlayer *audioPlayer = track->mAudioPlayer;
89 // Request the mixer thread to unlink this audio player's track
/frameworks/native/libs/utils/
H A DRefBase.cpp178 void trackMe(bool track, bool retain) argument
180 mTrackEnabled = track;
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp808 AudioTrack track; local
810 if (track.set(AUDIO_STREAM_VOICE_CALL, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
817 ALOGD("latency: output %d, input %d", track.latency(), record.latency());
851 (track.latency() + record.latency()) * sampleRate / 1000);
861 track.start();
879 status_t status = track.obtainBuffer(&buffer, 1);
884 track.releaseBuffer(&buffer);
/frameworks/base/media/java/android/media/
H A DAudioTrack.java282 * will be created for this track if none is supplied.
782 * Sets the playback sample rate for this track. This sets the sampling rate at which
831 * Sets the playback head position. The track must be stopped for the position to be changed.
1042 * Attaches an auxiliary effect to the audio track. A typical auxiliary
1050 * this method to attach the audio track to the effect.
1051 * <p>To detach the effect from the audio track, call this method with a
1066 * Sets the send level of the audio track to the attached auxiliary effect
1107 void onMarkerReached(AudioTrack track); argument
1113 void onPeriodicNotification(AudioTrack track); argument
1128 NativeEventHandlerDelegate(AudioTrack track, Handle argument
[all...]
H A DJetPlayer.java86 private static final int JET_EVENT_TRACK_MASK = 0x00fc0000; // mask for track number
90 private static final int JET_EVENT_TRACK_SHIFT = 18; // shift to get track ID to bit 0
271 * affects track 0, bit 1 affects track 1 etc.
277 * track including trigger clips and mute flags.
299 * playback. The value at index 0 affects track 0, value at index 1 affects track 1 etc.
306 * track including trigger clips and mute flags.
322 * @param muteFlags a bitmask to specify which MIDI tracks are muted. Bit 0 affects track 0,
323 * bit 1 affects track
506 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioEffectTest.java400 AudioTrack track = new AudioTrack(
409 assertNotNull(msg + ": could not create AudioTrack", track);
415 track.attachAuxEffect(effect.getId());
416 track.setAuxEffectSendLevel(1.0f);
419 track.release();
H A DMediaAudioTrackTest.java87 AudioTrack track = null;
89 track = new AudioTrack(
102 if (track != null) {
103 localRes = (track.getState() == _expected_stateForMode);
104 track.release();
262 AudioTrack track = null;
268 track = new AudioTrack(STREAM_TYPES[i],
278 if (track != null) {
279 if (track.getState() != AudioTrack.STATE_INITIALIZED) {
285 track
[all...]
/frameworks/av/media/libstagefright/include/
H A DMPEG4Extractor.h79 static status_t verifyTrack(Track *track);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp381 ALOGV("Video track located at %d", index);
386 // Always *search* based on the video track, but finalize based on mTrackNum
391 ALOGE("Did not locate the video track for seeking");
792 const mkvparser::Track *track = tracks->GetTrackByIndex(index); local
794 if (track == NULL) {
800 const char *const codecID = track->GetCodecId();
802 ALOGV("codec name = %s", track->GetCodecNameAsUTF8());
806 track->GetCodecPrivate(codecPrivateSize);
812 switch (track->GetType()) {
816 static_cast<const mkvparser::VideoTrack *>(track);
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp74 WrappedTrack(const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track);
669 const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track)
671 mTrack(track) {
668 WrappedTrack( const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track) argument
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp186 const Attribs &track = mTracks.itemAt(index); local
187 ssize_t i = track.indexOfKey(AString(key));
193 *value = track.valueAt(i);
H A DMyHandler.h469 // The first "track" is merely session meta
494 TrackInfo *track = NULL; local
496 if (msg->findSize("track-index", &trackIndex)) {
497 track = &mTracks.editItemAt(trackIndex);
507 CHECK(track != NULL);
556 notify->setSize("track-index", trackIndex);
561 if (!track->mUsingInterleavedTCP) {
567 track->mRTPSocket,
568 track->mRTCPSocket,
573 track
849 TrackInfo *track = &mTracks.editItemAt(trackIndex); local
1381 TrackInfo *track = &mTracks.editItemAt(trackIndex); local
1394 TrackInfo *track = &mTracks.editItemAt(i); local
1429 TrackInfo *track = &mTracks.editItemAt(trackIndex); local
1451 addMediaTimestamp( int32_t trackIndex, const TrackInfo *track, const sp<ABuffer> &accessUnit) argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp307 // this track suspended for the time being.
441 const sp<Track> &track = mTracks.valueFor(trackIndex); local
443 ssize_t packetizerTrackIndex = track->packetizerTrackIndex();
447 mPacketizer->addTrack(track->getFormat());
451 track->setPacketizerTrackIndex(packetizerTrackIndex);
467 track->queueAccessUnit(accessUnit);
471 track->queueOutputBuffer(accessUnit);
478 ALOGI("output EOS on track %d", trackIndex);
538 sp<Track> track = mTracks.valueFor(trackIndex); local
539 looper()->unregisterHandler(track
664 sp<Track> track = new Track( local
747 const sp<Track> &track = mTracks.valueAt(i); local
772 const sp<Track> &track = mTracks.valueFor(trackIndex); local
885 const sp<Track> &track = mTracks.valueAt(i); local
925 const sp<Track> &track = mTracks.valueAt(i); local
945 const sp<Track> &track = mTracks.valueFor(minTrackIndex); local
[all...]
H A DTSPacketizer.cpp371 const sp<Track> &track = mTracks.itemAt(i); local
373 if (track->streamType() == streamType) {
377 if ((isAudio && track->isAudio()) || (isVideo && track->isVideo())) {
387 sp<Track> track = new Track(format, PID, streamType, streamID); local
388 return mTracks.add(track);
409 const sp<Track> &track = mTracks.itemAt(trackIndex); local
411 if (track->isH264() && (flags & PREPEND_SPS_PPS_TO_IDR_FRAMES)
414 accessUnit = track->prependCSD(accessUnit);
415 } else if (track
604 const sp<Track> &track = mTracks.itemAt(i); local
850 const sp<Track> &track = mTracks.itemAt(trackIndex); local
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp151 FastMixer_Dynamic, // initialize if needed, then use dynamically depending on track load,
169 // for the track. The client then sub-divides this into smaller buffers for its use.
455 sp<PlaybackThread::Track> track; local
505 track = thread->createTrack_l(client, streamType, sampleRate, format,
509 // for a track to be created
521 (void) track->setSyncEvent(mPendingSyncEvents[i]);
532 trackHandle = new TrackHandle(track);
537 track.clear();
1631 sp<Track> track = mTracks[i]; local
1632 if (track !
1642 sp<Track> track = mActiveTracks[i].promote(); local
1722 sp<Track> track; local
1945 addTrack_l(const sp<Track>& track) argument
1977 destroyTrack_l(const sp<Track>& track) argument
1986 removeTrack_l(const sp<Track>& track) argument
2152 sp<Track> track = mTracks[i]; local
2171 sp<Track> track = mTracks[i]; local
2223 sp<Track> track = mTracks[i]; local
2243 const sp<Track>& track = tracksToRemove.itemAt(i); local
2943 Track* const track = t.get(); local
3360 const sp<Track>& track = tracksToRemove->itemAt(i); local
3720 Track* const track = t.get(); local
5795 TrackHandle(const sp<AudioFlinger::PlaybackThread::Track>& track) argument
6252 sp<RecordTrack> track; local
6463 destroyTrack_l(const sp<RecordTrack>& track) argument
6472 removeTrack_l(const sp<RecordTrack>& track) argument
6524 sp<RecordTrack> track = mTracks[i]; local
6643 sp<RecordTrack> track = mTracks[i]; local
6807 sp<RecordThread::RecordTrack> track = mTracks[j]; local
8004 sp<Track> track = mTracks[i]; local
8014 sp<Track> track = mActiveTracks[i].promote(); local
8057 sp<Track> track = mActiveTracks[i].promote(); local
8068 sp<Track> track = mTracks[i]; local
8080 attachAuxEffect( const sp<AudioFlinger::PlaybackThread::Track> track, int EffectId) argument
8087 attachAuxEffect_l( const sp<AudioFlinger::PlaybackThread::Track> track, int EffectId) argument
8113 sp<Track> track = mTracks[i]; local
[all...]
H A DAudioFlinger.h426 // Return a pointer to the start of a contiguous slice of the track buffer.
428 // monotonically increasing frame units relative to the track epoch.
461 void* mBuffer; // start of track buffer, typically in shared memory
602 // track
768 MIXER_TRACKS_ENABLED, // at least one active track, but no track has any data ready
769 MIXER_TRACKS_READY // at least one active track, and at least one track has data
774 // playback track
871 int mName; // track nam
[all...]
H A DAudioMixer.cpp76 ALOGE("DownmixerBufferProvider::getNextBuffer() error: NULL track buffer provider");
86 ALOGE("DownmixerBufferProvider::releaseBuffer() error: NULL track buffer provider");
124 // FIXME redundant per track
171 ALOGV("add track (%d)", n);
173 // assume default parameters for the track, except where noted below
212 ALOGE("AudioMixer::getTrackName(0x%x) failed, error preparing track for downmix",
234 ALOGV("initTrackDownmix(track=%d, mask=0x%x) calls prepareTrackForDownmix()",
247 // this track had previously been configured with a downmixer, delete it
280 // channel input configuration will be overridden per-track
305 ALOGE("error %d while configuring downmixer for track
384 track_t& track = mState.tracks[name]; local
397 track_t& track = mState.tracks[name]; local
410 track_t& track = mState.tracks[name]; local
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java34 * The maximum amount of time to wait for an audio track to make progress while
57 * track buffer size (mAudioBufferSize). In this case, we need to call
59 * different logic is required to wait for the track to finish.
96 AudioTrack track = createStreamingAudioTrack();
98 mAudioTrack = track;
101 if (track == null) {
118 AudioTrack track = null;
120 track = mAudioTrack;
123 if (track == null || mStopped) {
126 final int bytesWritten = writeToAudioTrack(track, dat
[all...]
/frameworks/base/core/java/android/view/
H A DView.java536 * scroll their content. This includes keeping track of the X and Y scroll
2164 * Flag indicating that view has a transform animation set on it. This is used to track whether
2171 * Flag indicating that view has an alpha animation set on it. This is used to track whether an
3965 Drawable track = a.getDrawable(R.styleable.View_scrollbarTrackHorizontal);
3966 scrollabilityCache.scrollBar.setHorizontalTrackDrawable(track);
3979 track = a.getDrawable(R.styleable.View_scrollbarTrackVertical);
3980 scrollabilityCache.scrollBar.setVerticalTrackDrawable(track);
3995 if (track != null) {
3996 track.setLayoutDirection(layoutDirection);
7949 * Generic motion events describe joystick movements, mouse hovers, track pa
[all...]
/frameworks/base/core/java/android/widget/
H A DScrollBarDrawable.java50 * Indicate whether the horizontal scrollbar track should always be drawn regardless of the
53 * @param alwaysDrawTrack Set to true if the track should always be drawn
60 * Indicate whether the vertical scrollbar track should always be drawn regardless of the
63 * @param alwaysDrawTrack Set to true if the track should always be drawn
70 * Indicates whether the vertical scrollbar track should always be drawn regardless of the
78 * Indicates whether the horizontal scrollbar track should always be drawn regardless of the
148 Drawable track;
150 track = mVerticalTrack;
152 track = mHorizontalTrack;
154 if (track !
192 setVerticalTrackDrawable(Drawable track) argument
202 setHorizontalTrackDrawable(Drawable track) argument
[all...]
H A DSwitch.java373 * Set the drawable used for the track that the switch slides within.
375 * @param track Track drawable
379 public void setTrackDrawable(Drawable track) { argument
380 mTrackDrawable = track;
385 * Set the drawable used for the track that the switch slides within.
387 * @param resId Resource ID of a track drawable
396 * Get the drawable used for the track that the switch slides within.
408 * can physically touch and drag along the track.
421 * can physically touch and drag along the track.
433 * can physically touch and drag along the track
[all...]
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java66 /** Music note that indicates user is listening to a music track. */
129 // Look for music track (of which there would be only one and it'll be the
252 * Looks for a music track (\u266B is first character, everything else is
253 * track info).
497 // Keeps track of whether we've seen a character (in map if we've seen it)
768 /** Represents a music track token at the beginning. */
770 private String track; field in class:AbstractMessageParser.MusicTrack
772 public MusicTrack(String track) { argument
773 super(Type.MUSIC, track);
774 this.track
[all...]

Completed in 9399 milliseconds

12