prints out stream status errors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33046 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
87b68ba08f
commit
561c00c9c3
@ -98,8 +98,13 @@ stream_handle_interrupt(hda_controller* controller, hda_stream* stream)
|
||||
|
||||
stream->Write8(HDAC_STREAM_STATUS, status);
|
||||
|
||||
if (status & STATUS_FIFO_ERROR)
|
||||
dprintf("hda: stream fifo error (id:%ld)\n", stream->id);
|
||||
if (status & STATUS_DESCRIPTOR_ERROR)
|
||||
dprintf("hda: stream descriptor error (id:%ld)\n", stream->id);
|
||||
|
||||
if ((status & STATUS_BUFFER_COMPLETED) == 0) {
|
||||
dprintf("hda: stream status %x\n", status);
|
||||
dprintf("hda: stream buffer not completed (id:%ld)\n", stream->id);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user