[RFC 4/6] android: Keep stream_out example in the API doc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 android/audio-ipc-api.txt | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/android/audio-ipc-api.txt b/android/audio-ipc-api.txt
index 5140d77..c2d23d9 100644
--- a/android/audio-ipc-api.txt
+++ b/android/audio-ipc-api.txt
@@ -27,11 +27,11 @@ HAL socket apply here as well, the abstract socket name is
 	call dev->open_output_stream()      --> command 0x03
 	return dev->open_output_stream()    <-- response 0x03
 
-	call stream_in->read()              --> command 0x05
-	return stream_in->read()            <-- response 0x05
+	call stream_out->write()            --> command 0x05
+	return stream_out->write()          <-- response 0x05
 
-	call stream_in->common.standby()    --> command 0x06
-	return  stream_in->common.standby() <-- response 0x06
+	call stream_out->common.standby()   --> command 0x06
+	return stream_out->common.standby() <-- response 0x06
 
 	call dev->close_output_stream()     --> command 0x04
 	return dev->close_output_stream()   <-- response 0x04
@@ -39,6 +39,8 @@ HAL socket apply here as well, the abstract socket name is
 	call dev->close()                   --> command 0x02
 	return dev->close()                 <-- response 0x02
 
+Note: Similar applies to stream in scenario.
+
 Identifier: "audio" (BT_AUDIO_ID)
 
 	Opcode 0x00 - Error response
-- 
1.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux