Commit 45755c4d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

DirectSound: fix bytes per frame count (fixes #7835)

parent f3a44a5f
......@@ -141,6 +141,7 @@ void aout_PacketInit (audio_output_t *aout, aout_packet_t *p, unsigned samples,
vlc_mutex_init (&p->lock);
p->format = *fmt;
aout_FormatPrepare (&p->format);
aout_FifoInit (&p->partial, p->format.i_rate);
aout_FifoInit (&p->fifo, p->format.i_rate);
p->pause_date = VLC_TS_INVALID;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment