aout_owner_t *owner = aout_owner (aout);
+ vlc_mutex_init (&owner->lock);
owner->module = NULL;
owner->input = NULL;
vlc_mutex_init (&owner->volume.lock);
owner->volume.multiplier = 1.0;
owner->volume.mixer = NULL;
- owner->b_starving = true;
-
- vlc_mutex_init (&aout->lock);
aout_VolumeNoneInit (aout);
vlc_object_set_destructor (aout, aout_Destructor);
aout_owner_t *owner = aout_owner (aout);
vlc_mutex_destroy (&owner->volume.lock);
- vlc_mutex_destroy (&aout->lock);
+ vlc_mutex_destroy (&owner->lock);
}
#ifdef AOUT_DEBUG
block->i_pts += difference;
}
-/*****************************************************************************
- * aout_FifoNextStart : return the current end_date
- *****************************************************************************/
-mtime_t aout_FifoNextStart( const aout_fifo_t *p_fifo )
-{
- return date_Get( &p_fifo->end_date );
-}
-
-/*****************************************************************************
- * aout_FifoFirstDate : return the playing date of the first buffer in the
- * FIFO
- *****************************************************************************/
-mtime_t aout_FifoFirstDate( const aout_fifo_t *fifo )
-{
- block_t *first = fifo->p_first;
- return (first != NULL) ? first->i_pts : VLC_TS_INVALID;
-}
-
/*****************************************************************************
* aout_FifoPop : get the next buffer out of the FIFO
*****************************************************************************/