KR20220078432A - Electronic device and method for outputting multi-channel audio using the same - Google Patents
Electronic device and method for outputting multi-channel audio using the same Download PDFInfo
- Publication number
- KR20220078432A KR20220078432A KR1020210013650A KR20210013650A KR20220078432A KR 20220078432 A KR20220078432 A KR 20220078432A KR 1020210013650 A KR1020210013650 A KR 1020210013650A KR 20210013650 A KR20210013650 A KR 20210013650A KR 20220078432 A KR20220078432 A KR 20220078432A
- Authority
- KR
- South Korea
- Prior art keywords
- channel
- audio
- electronic device
- audio output
- audio data
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/12—Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1684—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
- G06F1/1688—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being integrated loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/20—Arrangements for obtaining desired frequency or directional characteristics
- H04R1/32—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only
- H04R1/326—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only for microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04S—STEREOPHONIC SYSTEMS
- H04S3/00—Systems employing more than two channels, e.g. quadraphonic
- H04S3/008—Systems employing more than two channels, e.g. quadraphonic in which the audio signals are in digital form, i.e. employing more than two discrete digital channels
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Acoustics & Sound (AREA)
- Otolaryngology (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
본 개시의 다양한 실시예들에 따르면, 전자 장치는, 복수의 오디오 출력 장치들, 및 상기 복수의 오디오 출력 장치들과 프로세서를 포함하며, 상기 프로세서는, 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치의 방향 정보를 확인하고, 상기 전자 장치의 방향 정보에 기반하여, 상기 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 채널 정보를 상기 각 오디오 출력 장치에 전송하고, 및 상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하도록 설정될 수 있다.
본 문서에 개시된 다양한 실시예들 이외의 다른 다양한 실시예가 가능하다.According to various embodiments of the present disclosure, an electronic device includes a plurality of audio output devices, and a plurality of audio output devices and a processor, wherein the processor, based on detecting output of audio data, Check direction information of the electronic device, and transmit channel information of audio data to be output by each of the plurality of audio output devices to each audio output device based on the direction information of the electronic device, and the channel information Based on , each audio output device may be configured to select a channel and control the plurality of audio output devices to output audio data of the selected channel.
Various embodiments other than the various embodiments disclosed herein are possible.
Description
본 개시의 다양한 실시예들은 전자 장치 및 이를 이용한 멀티 채널 오디오 출력 방법에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device and a multi-channel audio output method using the same.
전자 장치는 복수의 오디오 출력 장치를 이용하여 멀티 채널로 오디오 데이터를 출력할 수 있다. 예컨대, 전자 장치는 오디오 출력 장치의 개수에 대응하는 멀티 채널의 오디오 데이터를 생성하거나, 또는, 오디오 데이터에 대응하는 채널 수에 기반하여 멀티 채널의 오디오 데이터를 생성할 수 있다. 전자 장치는 생성된 멀티 채널의 오디오 데이터를 복수의 오디오 출력 장치들을 통해 출력할 수 있다.The electronic device may output audio data in multi-channels using a plurality of audio output devices. For example, the electronic device may generate multi-channel audio data corresponding to the number of audio output devices or may generate multi-channel audio data based on the number of channels corresponding to the audio data. The electronic device may output the generated multi-channel audio data through a plurality of audio output devices.
오디오 데이터를 오디오 출력 장치의 개수에 대응하도록 멀티 채널의 오디오 데이터로 생성하기 위해 소요되는 시간 및/또는 버퍼 사용으로 인한 오디오 데이터의 처리 지연이 발생할 수 있다. 예컨대, 실시간성이 요구되는 컨텐츠의 오디오 데이터(예: 게임 사운드, 라이브 스트리밍)에서 처리 지연이 발생함에 따라, 전자 장치의 사용성이 저하될 수 있다.A processing delay of the audio data may occur due to a time required to generate the audio data as multi-channel audio data to correspond to the number of audio output devices and/or the use of a buffer. For example, as processing delay occurs in audio data (eg, game sound, live streaming) of content requiring real-time performance, usability of the electronic device may deteriorate.
본 개시의 다양한 실시예들에 따른 전자 장치는, 오디오 데이터를 재생하는 경우, 전자 장치의 방향 정보에 따른 각 오디오 출력 장치가 출력할 오디오 데이터의 채널 정보를 각 오디오 출력 장치에 전송할 수 있다. 각 오디오 출력 장치는 오디오 데이터의 채널 정보에 기반하여, 해당 채널의 오디오 데이터를 출력할 수 있다.When reproducing audio data, the electronic device according to various embodiments of the present disclosure may transmit channel information of audio data to be output by each audio output device according to direction information of the electronic device to each audio output device. Each audio output device may output audio data of a corresponding channel based on channel information of the audio data.
본 개시의 다양한 실시예들에 따른 전자 장치는, 복수의 오디오 출력 장치들, 및 상기 복수의 오디오 출력 장치들과 프로세서를 포함하며, 상기 프로세서는, 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치의 방향 정보를 확인하고, 상기 전자 장치의 방향 정보에 기반하여, 상기 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 채널 정보를 상기 각 오디오 출력 장치에 전송하고, 및 상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes a plurality of audio output devices, and a plurality of audio output devices and a processor, wherein the processor is configured to: based on detecting output of audio data, Check direction information of the electronic device, and transmit channel information of audio data to be output by each of the plurality of audio output devices to each audio output device based on the direction information of the electronic device, and Based on this, each audio output device may be configured to select a channel and control the plurality of audio output devices to output audio data of the selected channel.
본 개시의 다양한 실시예들에 따른 전자 장치의 멀티 채널 오디오를 출력하는 방법은, 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치의 방향 정보를 확인하는 동작, 상기 전자 장치의 방향 정보에 기반하여, 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 채널 정보를 각 오디오 출력 장치에 전송하는 동작, 및 상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하는 동작을 포함할 수 있다.A method of outputting multi-channel audio from an electronic device according to various embodiments of the present disclosure includes an operation of checking direction information of the electronic device based on detecting output of audio data, transmission of channel information of audio data to be output by each of the plurality of audio output devices to each audio output device, and, based on the channel information, each audio output device selects a channel and provides audio of the selected channel and controlling the plurality of audio output devices to output data.
본 개시의 다양한 실시예들에 따른 전자 장치에 구비된 각 오디오 출력 장치는, 오디오 데이터를 별도의 처리 없이, 오디오 데이터의 채널 정보에 기반하여, 해당 채널의 오디오 데이터를 출력할 수 있다. 이에 따라, 오디오 데이터의 프로세싱에 따른 시간 지연은 최소화될 수 있다. 아울러, 실시간성이 요구되는 게임 및/또는 라이브 스트리밍과 같은 컨텐츠를 재생하는 경우, 오디오 데이터와 영상 데이터 간의 이질감을 해소할 수 있어, 전자 장치의 사용성이 증대될 수 있다. Each audio output device included in the electronic device according to various embodiments of the present disclosure may output audio data of a corresponding channel based on channel information of the audio data without separate processing of the audio data. Accordingly, a time delay according to the processing of audio data can be minimized. In addition, when content such as a game and/or live streaming requiring real-time performance is reproduced, a sense of difference between audio data and image data may be resolved, and thus the usability of the electronic device may be increased.
도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는, 다양한 실시예들에 따른, 프로그램을 예시하는 블록도이다.
도 3은, 다양한 실시예들에 따른, 전자 장치를 도시한 도면이다.
도 4는, 다양한 실시예들에 따른, 전자 장치를 도시한 블록도이다.
도 5a는, 다양한 실시예들에 따른, 전자 장치의 계층적인 구조(hierarchy structure)를 도시한 도면이다.
도 5b는, 다양한 실시예들에 따른, 전자 장치의 방향 정보에 따른 멀티 채널의 오디오 데이터를 출력하는 방법을 설명하기 위한 도면이다.
도 6은, 다양한 실시예들에 따른, 전자 장치의 방향 정보에 따른 멀티 채널의 오디오 데이터를 출력하는 방법을 설명하기 위한 흐름도이다.
도 7은, 다양한 실시예들에 따른, 전자 장치의 방향 정보가 변경되는 것에 기반하여, 멀티 채널의 오디오 데이터를 출력하는 방법을 설명하기 위한 흐름도이다.
도 8a는, 다양한 실시예들에 따른, 전자 장치의 펼침 상태(flat state 또는 opening state)를 도시한 도면이다.
도 8b는, 다양한 실시예들에 따른, 전자 장치의 접힘 상태(folding state 또는 closing state)를 도시한 도면이다.
도 9는, 다양한 실시예들에 따른, 폴더블 전자 장치의 방향 정보 및/또는 폴딩 상태에 따른 멀티 채널의 오디오 데이터를 출력하는 방법을 설명하기 위한 흐름도이다.1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure;
2 is a block diagram illustrating a program, in accordance with various embodiments.
3 is a diagram illustrating an electronic device according to various embodiments of the present disclosure;
4 is a block diagram illustrating an electronic device according to various embodiments of the present disclosure.
5A is a diagram illustrating a hierarchical structure of an electronic device according to various embodiments of the present disclosure;
5B is a diagram for describing a method of outputting multi-channel audio data according to direction information of an electronic device, according to various embodiments of the present disclosure;
6 is a flowchart illustrating a method of outputting multi-channel audio data according to direction information of an electronic device, according to various embodiments of the present disclosure.
7 is a flowchart illustrating a method of outputting multi-channel audio data based on a change in direction information of an electronic device, according to various embodiments of the present disclosure;
8A is a diagram illustrating a flat state or an opening state of an electronic device according to various embodiments of the present disclosure;
8B is a diagram illustrating a folding state or a closing state of an electronic device according to various embodiments of the present disclosure;
9 is a flowchart illustrating a method of outputting multi-channel audio data according to direction information and/or a folding state of a foldable electronic device, according to various embodiments of the present disclosure;
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다.1 is a block diagram of an
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1 , in a
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.
일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104) 간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to an embodiment, the command or data may be transmitted or received between the
도 2는, 다양한 실시예들에 따른, 프로그램(140)을 예시하는 블록도(200)이다. 2 is a block diagram 200 illustrating a
일 실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다.According to an embodiment, the
운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.The
미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다. The
어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일 실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.The
데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. The
시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.
어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일 실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보(예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다.
장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 외부 전자장치의 디스플레이 모듈 또는 카메라 모듈)의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.The device management application is, for example, a power supply (eg, turn-on or turn-off) of an external electronic device or some component thereof (eg, a display module or a camera module of the external electronic device) that communicates with the
도 3은, 다양한 실시예들에 따른, 전자 장치(301)를 도시한 도면(300)이다.3 is a diagram 300 illustrating an electronic device 301 according to various embodiments of the present disclosure.
도 3을 참조하면, 참조번호 <310>은 전자 장치(301)(예: 도 1의 전자 장치(101))의 방향(orientation) 정보가 세로 모드(portrait mode)인 것을 나타낸 도면이고, 참조번호 <350>은 전자 장치(301)의 방향 정보가 가로 모드(landscape mode)인 것을 나타낸 도면이다.Referring to FIG. 3 , reference number <310> is a diagram indicating that orientation information of an electronic device 301 (eg, the
다양한 실시예들에서, 전자 장치(301)는 센서(예: 도 1의 센서 모듈(176))를 통해 전자 장치(301)의 방향 정보를 확인할 수 있다. 전자 장치(301)의 방향 정보는 세로 모드(예: 참조번호 <310>의 상태) 및 가로 모드(예: 참조번호 <350>의 상태)를 포함할 수 있다. In various embodiments, the electronic device 301 may identify direction information of the electronic device 301 through a sensor (eg, the
예컨대, 전자 장치(301)의 방향 정보가 세로 모드를 나타내는 상태는, 참조번호 <310>에 도시된 바와 같이, 전자 장치(301)의 제1 측면(311)이 제1 방향(예: ① 방향)으로 향하도록 배치되고, 전자 장치(301)의 제2 측면(313)이 제1 방향(예: ①)과 반대인 제2 방향(예: ② 방향)으로 향하도록 배치되는 상태를 포함할 수 있다.For example, in a state in which direction information of the electronic device 301 indicates the portrait mode, as shown in reference numeral <310>, the
다른 예를 들어, 전자 장치(301)의 방향 정보가 가로 모드를 나타내는 상태는, 참조번호 <350>에 도시된 바와 같이, 전자 장치(301)의 제1 측면(311)보다 긴 제3 측면(315)이 제1 방향(예: ① 방향)을 향하도록 배치되고, 전자 장치(301)의 제2 측면(313)보다 긴 제4 측면(317)이 제1 방향(예: ①)과 반대인 제2 방향(예: ② 방향)을 향하도록 배치되는 상태를 포함할 수 있다.As another example, the state in which the direction information of the electronic device 301 indicates the landscape mode is, as shown in
다양한 실시예들에서, 전자 장치(301)는 복수의 오디오 출력 장치들을 포함할 수 있다. 예컨대, 복수의 오디오 출력 장치들은 제1 오디오 출력 장치(321), 제2 오디오 출력 장치(323), 제3 오디오 출력 장치(325), 및 제4 오디오 출력 장치(327)를 포함할 수 있다. 예컨대, 제1 오디오 출력 장치(321)는 전자 장치(301)의 제1 측면(311)의 제1 영역에 배치될 수 있다. 제2 오디오 출력 장치(323)는 전자 장치(301)의 제1 측면(311)의 제2 영역에 배치될 수 있다. 제3 오디오 출력 장치(325)는 전자 장치(301)의 제2 측면(313)의 제1 영역에 배치될 수 있다. 제4 오디오 출력 장치(327)는 전자 장치(301)의 제2 측면(313)의 제2 영역에 배치될 수 있다.In various embodiments, the electronic device 301 may include a plurality of audio output devices. For example, the plurality of audio output devices may include a first
다양한 실시예들에서, 복수의 오디오 출력 장치들(321, 323, 325, 327)은 서로 대응하는 위치에 배치될 수 있다. 예컨대, 전자 장치(301)의 제1 측면(311)의 제1 영역에 제1 오디오 출력 장치(321)가 배치될 수 있으며, 이에 대응하는 위치인 전자 장치(301)의 제2 측면(313)의 제1 영역에 제3 오디오 출력 장치(325)가 배치될 수 있다. 전자 장치(301)의 제1 측면(311)의 제2 영역에 제2 오디오 출력 장치(323)가 배치될 수 있으며, 이에 대응하는 위치인 전자 장치(301)의 제2 측면(313)의 제2 영역에 제4 오디오 출력 장치(327)가 배치될 수 있다.In various embodiments, the plurality of
다양한 실시예들에 따른 도 3에서, 전자 장치(301)가 4개의 오디오 출력 장치들을 포함하는 것으로 설명하였지만, 이에 한정하는 것은 아니다. 예컨대, 전자 장치(301)는 4개를 초과하는 개수의 오디오 출력 장치들을 포함할 수 있다. 전자 장치(301)에 4개의 오디오 출력 장치들이 배치된 위치 또한, 도 3의 실시예에 한정하는 것은 아니다.Although it has been described that the electronic device 301 includes four audio output devices in FIG. 3 according to various embodiments, the present invention is not limited thereto. For example, the electronic device 301 may include more than four audio output devices. A position in which the four audio output devices are arranged in the electronic device 301 is also not limited to the embodiment of FIG. 3 .
다양한 실시예들에서, 전자 장치(301)의 방향 정보가 세로 모드(예: 참조번호 <310>)에서 전자 장치(301)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치와 전자 장치(301)의 방향 정보가 가로 모드(예: 참조번호 <350>)에서 전자 장치(301)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치는 상이할 수 있다.In various embodiments, the direction information of the electronic device 301 includes a position where a plurality of audio output devices are disposed when the electronic device 301 is viewed from the front in a portrait mode (eg, reference number <310>) and the electronic device 301 . When the direction information of the device 301 is viewed from the front in a landscape mode (eg, reference number <350>), the positions at which the plurality of audio output devices are arranged may be different.
예컨대, 참조번호 <310>에 도시된 바와 같이, 전자 장치(301)의 방향 정보가 세로 모드에서, 전자 장치(301)를 정면에서 바라볼 때의 제1 오디오 출력 장치(321)는 전자 장치(301)의 상단 좌측에 배치될 수 있고, 제2 오디오 출력 장치(323)는 전자 장치(301)의 상단 우측에 배치될 수 있고, 제3 오디오 출력 장치(325)는 전자 장치(301)의 하단 좌측에 배치될 수 있고, 제4 오디오 출력 장치(327)는 전자 장치(301)의 하단 우측에 배치될 수 있다.For example, as shown in reference numeral <310>, when the direction information of the electronic device 301 is in the portrait mode and the first
다른 예를 들어, 참조번호 <350>에 도시된 바와 같이 전자 장치(301)의 방향 정보가 가로 모드에서, 전자 장치(301)를 정면에서 바라볼 때의 제1 오디오 출력 장치(321)는 전자 장치(301)의 우측 상단에 배치될 수 있고, 제2 오디오 출력 장치(323)는 전자 장치(301)의 우측 하단에 배치될 수 있고, 제3 오디오 출력 장치(325)는 전자 장치(301)의 좌측 상단에 배치될 수 있고, 제4 오디오 출력 장치(327)는 전자 장치(301)의 좌측 하단에 배치될 수 있다.For another example, as shown by
다양한 실시예들에서, 전자 장치(301)는 전자 장치(301)의 방향 정보에 따른 각 오디오 출력 장치(321, 323, 325, 또는 327)에서 최종 출력될 오디오 데이터의 채널 정보를, 각 오디오 출력 장치(321, 323, 325, 또는 327)에 전송할 수 있다. 예컨대, 오디오 데이터는 멀티 채널의 오디오 데이터를 포함할 수 있다. 멀티 채널의 오디오 데이터를 2채널의 오디오 데이터로 가정하여 설명하면, 전자 장치(301)는 제1 채널(예: L 채널(left channel)) 또는 제2 채널(예: R 채널(right channel))의 오디오 데이터를 출력하도록, 오디오 데이터의 제1 채널 정보 또는 제2 채널 정보를 포함하는 채널 정보를 각 오디오 출력 장치(321, 323, 325, 또는 327)에 전송할 수 있다.In various embodiments, the electronic device 301 outputs channel information of audio data to be finally output from each
다양한 실시예들에 따른 전술한 전자 장치(301)의 방향 정보에 따른 각 오디오 출력 장치(321, 323, 325, 또는 327)에서 최종 출력될 오디오 데이터의 채널 정보를 각 오디오 출력 장치(321, 323, 325, 또는 327)에 전송하는 실시예와 관련하여, 후술하는 도 5a 내지 도 7에서 다양한 실시예들이 설명될 것이다.Channel information of audio data to be finally output from each
도 4는, 다양한 실시예들에 따른, 전자 장치(401)를 도시한 블록도(400)이다.4 is a block diagram 400 illustrating an
도 4를 참조하면, 전자 장치(401)(예: 도 3의 전자 장치(301))는 통신 회로(410)(예: 도 1의 통신 모듈(190)), 메모리(420)(예: 도 1의 메모리(130)), 센서 회로(430)(예: 도 1의 센서 모듈(176)), 오디오 출력 장치(440)(예: 도 1의 음향 출력 모듈(155)), 터치스크린 디스플레이(450)(예: 도 1의 디스플레이 모듈(160)), 및/또는 프로세서(460)(예: 도 1의 프로세서(120))를 포함할 수 있다.Referring to FIG. 4 , an electronic device 401 (eg, the electronic device 301 of FIG. 3 ) includes a communication circuit 410 (eg, the
본 개시의 다양한 실시예들에 따르면, 통신 회로(410)(예: 도 1의 통신 모듈(190))는 외부 전자 장치(예: 도 1의 전자 장치(102, 104), 서버(108))와 통신 채널을 설립하고, 외부 전자 장치와 다양한 데이터를 송수신하도록 지원할 수 있다.According to various embodiments of the present disclosure, the communication circuit 410 (eg, the
본 개시의 다양한 실시예들에 따르면, 메모리(420)(예: 도 1의 메모리(130))는 전자 장치(401)의 방향 정보에 따른 각 오디오 출력 장치(441, 443, 445, 또는 447)에서 최종 출력될 오디오 데이터의 채널 정보를 저장할 수 있다. 전자 장치(401)는 폴더블 장치이고,메모리(420)는 전자 장치(401)(예: 폴더블 장치)의 방향 정보 및/또는 폴딩 상태에 따른 각 오디오 출력 장치(441, 443, 445, 또는 447)에서 최종 출력될 오디오 데이터의 채널 정보를 저장할 수 있다.According to various embodiments of the present disclosure, the memory 420 (eg, the
일 실시예에서, 메모리(420)는 전자 장치(401)의 방향 정보 및/또는 폴딩 상태에 기반하여, 각 오디오 출력 장치(441, 443, 445, 또는 447)에 전송된 오디오 데이터의 채널 정보에 기반하여, 각 오디오 출력 장치(441, 443, 445, 또는 447)에서 최종 출력할 채널을 선택하여 선택한 채널의 오디오 데이터를 출력하도록, 각 오디오 출력 장치(441, 443, 445, 또는 447)를 제어하는 동작을 수행하도록 하는 인스트럭션들을 저장할 수 있다. In an embodiment, the
본 개시의 다양한 실시예들에 따르면, 센서 회로(430)(예: 도 1의 센서 모듈(176))는 가속도 센서, 지자계 센서, 및/또는 자이로 센서를 포함할 수 있다. 센서 회로(430)는 전자 장치(401)의 제1 측면(예: 도 3의 제1 측면(311))이 향하는 방향을 결정할 수 있다. 센서 회로(430)는 전자 장치(401)의 움직임 정보(예: 전자 장치(401)의 움직임 방향, 전자 장치(401)의 기울기)를 획득하고, 이에 기반하여 전자 장치(401)의 제1 측면(311)이 향하는 방향을 결정할 수 있다.According to various embodiments of the present disclosure, the sensor circuit 430 (eg, the
다양한 실시예들에 따르면, 센서 회로(430)은 근접 센서, IR(infrared) 센서, 홀 센서, 모션 센서, 각도 센서 또는 조도 센서 중 적어도 하나를 포함할 수 있다. 센서 회로(430)는 전자 장치(401)의 제1 하우징 구조 및 제2 하우징 구조 사이의 거리(또는 각도)에 기반하여 폴딩 상태(예: 펼침 상태, 접힘 상태, 및/또는 소정 각도의 펼침 상태)를 확인할 수 있다.According to various embodiments, the
본 개시의 다양한 실시예들에 따르면, 오디오 출력 장치(440)(예: 도 1의 음향 출력 모듈(155))는 복수의 오디오 출력 장치들 예컨대, 제1 오디오 출력 장치(441)(예: 도 3의 제1 오디오 출력 장치(321)), 제2 오디오 출력 장치(443)(예: 도 3의 제2 오디오 출력 장치(323)), 제3 오디오 출력 장치(445)(예: 도 3의 제3 오디오 출력 장치(325)), 및 제4 오디오 출력 장치(447)(예: 도 3의 제4 오디오 출력 장치(327))를 포함할 수 있다.According to various embodiments of the present disclosure, the audio output device 440 (eg, the
일 실시에에서, 각 오디오 출력 장치(441, 443, 445, 또는 447)는 프로세서(460)의 제어 하에, 오디오 데이터의 채널 정보에 기반하여 최종 출력할 채널을 선택하고, 선택한 채널의 오디오 데이터를 출력할 수 있다.In one embodiment, each
본 개시의 다양한 실시예들에 따르면, 터치스크린 디스플레이(450)(예: 도 1의 디스플레이 모듈(160))는 디스플레이(451)와 터치패널(453)을 포함하는 일체형으로 구성될 수 있다.According to various embodiments of the present disclosure, the touch screen display 450 (eg, the
일 실시예에서, 터치스크린 디스플레이(450)는 프로세서(460)의 제어 하에 영상을 표시하며, 액정 디스플레이(liquid crystal display, LCD), 발광 다이오드(light-emitting diode, LED) 디스플레이, 유기 발광 다이오드(organic light-emitting diode, OLED) 디스플레이, 또는 마이크로 전자 기계 시스템(micro electro mechanical systems, MEMS) 디스플레이, 또는 전자 종이(electronic paper) 디스플레이 중 어느 하나로 구현될 수 있다. 하지만 이에 한정하는 것은 아니다.In one embodiment, the
일 실시예에서, 터치스크린 디스플레이(450)는 프로세서(460)의 제어 하에, 오디오 재생과 관련된 기능을 사용자가 제어할 수 있도록 하는 사용자 인터페이스(user interface)를 표시할 수 있다.In an embodiment, the
본 개시의 다양한 실시예들에 따르면, 프로세서(460)(예: 도 1의 프로세서(120))는 예를 들어, 마이크로 컨트롤러 유닛(MCU, micro controller unit)을 포함할 수 있고, 운영 체제(OS) 또는 임베디드 소프트웨어 프로그램을 구동하여 프로세서(460)에 연결된 다수의 하드웨어 구성 요소들을 제어할 수 있다. 프로세서(460)는, 예를 들어, 메모리(420)에 저장된 인스트럭션들(instructions)(예: 도 1의 프로그램(140))에 따라 다수의 하드웨어 구성 요소들을 제어할 수 있다.According to various embodiments of the present disclosure, the processor 460 (eg, the
일 실시예에서, 프로세서(460)는 제1 프로세서(461) 및 제2 프로세서(463)를 포함할 수 있다.In one embodiment, the
다양한 실시예들에서, 제1 프로세서(461)는 전자 장치(401)의 전반적인 동작 및 전자 장치(401)의 내부 구성들 간의 신호 흐름을 제어하고, 데이터 처리를 수행할 수 있다.In various embodiments, the
다양한 실시예들에서, 제2 프로세서(463)는 오디오 출력 장치(440) 예컨대, 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)를 제어할 수 있다. 제2 프로세서(463)는 오디오 출력 장치(440)를 제어하기 위한 하나의 프로세서로 구성되거나, 또는 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 각각에 포함되도록 구성될 수 있다.In various embodiments, the
일 실시예에서, 제1 프로세서(461)는 오디오 데이터의 출력을 검출할 수 있다. 오디오 데이터는 멀티 채널의 오디오 데이터를 포함할 수 있으며, 예컨대, 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터를 포함할 수 있다. 제1 프로세서(461)는 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터를 제2 프로세서(463)에 전달할 수 있다.In an embodiment, the
일 실시예에서, 제1 프로세서(461)는 전자 장치(401)의 방향 정보를 확인할 수 있다. 장치(401)의 방향(orientation) 정보는, 세로 모드(portrait mode) 및 가로 모드(landscape mode)를 포함할 수 있다. 예컨대, 제1 프로세서(461)는 센서 회로(430)를 통해 전자 장치(401)의 제1 측면(예: 도 3의 제1 측면(311))이 향하는 방향을 결정하고, 이에 기반하여 전자 장치(401)의 방향 정보를 확인할 수 있다. 제1 프로세서(461)는 전자 장치(401)의 방향 정보에 기반하여, 전자 장치(401)에서 복수의 오디오 출력 장치들 각각이 배치된 위치에 따른 각 오디오 출력 장치에서 최종 출력될 오디오 데이터의 채널 정보를 확인할 수 있다. 제1 프로세서(461))는 복수의 오디오 출력 장치들(441, 443, 445, 및 447)이 최종 출력할 오디오 데이터의 채널 정보를 제2 프로세서(463)에 전달할 수 있다. In an embodiment, the
일 실시예에서, 제2 프로세서(463)는 제1 프로세서(461)로부터 수신한 채널 정보에 기반하여, 각 오디오 출력 장치가 해당 채널의 오디오 데이터를 출력하도록 복수의 오디오 출력 장치들(441, 443, 445, 및 447)을 제어할 수 있다. 예컨대, 제2 프로세서(463)는 제1 프로세서(461)로부터 수신한 오디오 데이터의 채널 정보에 기반하여, 제1 채널(예: L 채널)의 오디오 데이터 또는 제2 채널(예: R 채널)의 오디오 데이터를 출력하도록 복수의 오디오 출력 장치들(441, 443, 445, 및 447)을 제어할 수 있다.In an embodiment, the
일 실시예에서, 제1 프로세서(461)는 전자 장치(401)의 방향 정보가 변경(예: 전환)된 것을 확인한 경우, 전자 장치(401)의 변경된 방향 정보에 따라 각 오디오 출력 장치에서 최종 출력할 오디오 데이터의 변경된 채널 정보를 제2 프로세서(463)에 전송할 수 있다. 예컨대, 전자 장치(401)의 방향 정보의 변경은, 세로 모드에서 가로 모드로 변경, 가로 모드에서 세로 모드로 변경을 포함할 수 있다. 전자 장치(401)의 방향 정보가 세로 모드(또는 가로 모드)에서 가로 모드(또는 세로 모드)로 전환되는 것에 기반하여 전자 장치(401)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들(441, 443, 445, 및 447)이 배치되는 위치 정보 또한 변경될 수 있으며, 이에 따라 최종 출력할 오디오 데이터의 채널 정보 또한 변경될 수 있다.In an embodiment, when the
일 실시예에서, 제2 프로세서(463))는 제1 프로세서(461)로부터 수신한 채널 정보에 기반하여, 각 오디오 출력 장치(441, 443, 445, 또는 447)가 해당 채널의 오디오 데이터를 출력하도록 복수의 오디오 출력 장치들(441, 443, 445, 및 447)을 제어할 수 있다.In an embodiment, the second processor 463) outputs audio data of the corresponding channel to each
다양한 실시예들에서, 전자 장치(401)가 폴더블 전자 장치로 구성되는 경우, 제1 프로세서(461)는 전자 장치(401)의 방향 정보뿐만 아니라, 전자 장치(401)의 폴딩 상태를 더 확인할 수 있다. 전자 장치(401)의 폴딩 상태는, 펼침 상태 및 닫힘 상태를 포함할 수 있다. 예컨대, 전자 장치(401)는 전자 장치(401)의 방향 정보 및/또는 폴딩 상태에 기반하여, 전자 장치(401)에서 복수의 오디오 출력 장치들 각각이 배치된 위치 정보에 따른 각 오디오 출력 장치에서 출력될 오디오 데이터의 채널 정보를 확인할 수 있다. 제1 프로세서(461))는 전자 장치(401)의 방향 정보 및/또는 폴딩 상태에 기반하여, 복수의 오디오 출력 장치들(441, 443, 445, 및 447)이 출력할 오디오 데이터의 채널 정보를 제2 프로세서(463)에 전달할 수 있다. 제2 프로세서(463))는 제1 프로세서(461)로부터 수신한 채널 정보에 기반하여, 각 오디오 출력 장치(441, 443, 445, 또는 447)가 해당 채널의 오디오 데이터를 출력하도록 복수의 오디오 출력 장치들(441, 443, 445, 및 447)을 제어할 수 있다.In various embodiments, when the
다양한 실시예들에 따른 전자 장치(401)는, 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)), 및 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))과 작동적으로 연결된 프로세서(460)를 포함하며, 상기 프로세서(460)는, 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치(401)의 방향 정보를 확인하고, 상기 전자 장치(401)의 방향 정보에 기반하여, 상기 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 채널 정보를 상기 각 오디오 출력 장치에 전송하고, 및 상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하도록 설정될 수 있다.The
다양한 실시예들에 따른 상기 프로세서(460)는, 상기 오디오 데이터를 멀티 채널의 오디오 데이터로 생성하고, 및 상기 생성된 멀티 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))에 전달하도록 설정되고, 상기 멀티 채널의 오디오 데이터는, 제1 채널의 오디오 데이터 및 제2 채널의 오디오 데이터를 포함할 수 있다.The
다양한 실시예들에 따른 상기 프로세서(460)는, 상기 오디오 데이터의 채널 정보에 기반하여, 상기 멀티 채널의 오디오 데이터 중 상기 제1 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 중 적어도 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 일부의 오디오 출력 장치를 제어하고, 및 상기 멀티 채널의 오디오 데이터 중 상기 제2 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 중 적어도 다른 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 다른 일부의 오디오 출력 장치를 제어하도록 설정될 수 있다.The
다양한 실시예들에 따른 상기 프로세서(460)는, 상기 전자 장치(401)의 방향 정보의 변경을 검출하는 것에 기반하여, 상기 변경된 방향 정보에 따른 상기 각 오디오 출력 장치가 출력할 오디오 데이터의 변경된 채널 정보를 상기 각 오디오 출력 장치에 전송하고, 및 상기 변경된 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))을 제어하도록 설정될 수 있다.The
다양한 실시예들에 따른 상기 프로세서(460)는, 상기 오디오 데이터의 변경된 채널 정보에 기반하여, 상기 수신한 상기 멀티 채널의 오디오 데이터 중 상기 제2 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 중 상기 적어도 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 일부의 오디오 출력 장치를 제어하고, 및 상기 멀티 채널의 오디오 데이터 중 상기 제1 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 중 상기 적어도 다른 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 다른 일부의 오디오 출력 장치를 제어하도록 설정될 수 있다.The
다양한 실시예들에 따른 상기 전자 장치(401)는, 폴더블 전자 장치를 포함할 수 있다.The
다양한 실시예들에 따른 상기 전자 장치(401)는 폴더블 전자 장치이고, 상기 프로세서(460)는, 상기 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치(401)의 폴딩 상태를 확인하도록 설정될 수 있다.The
다양한 실시예들에 따른 상기 프로세서(460)는, 상기 전자 장치(401)의 방향 정보 및/또는 상기 폴딩 상태에 기반하여, 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 각각이 출력할 오디오 데이터의 제2 채널 정보를 상기 각 오디오 출력 장치에 전송하고, 및 상기 제2 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))을 제어하도록 설정될 수 있다.The
다양한 실시예들에 따른 상기 프로세서(460)는, 제1 프로세서(461) 및 제2 프로세서(463)를 포함하며, 상기 제1 프로세서(461)는, 상기 전자 장치(401)의 방향 정보에 기반하여, 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 각각이 출력할 오디오 데이터의 채널 정보를 상기 제2 프로세서(463)에 전송하고, 상기 제2 프로세서(463)는, 상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치에 설정된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))을 제어하도록 설정될 수 있다.The
다양한 실시예들에 따른 상기 제2 프로세서(436)는, 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 각각에 포함되도록 설정될 수 있다.The second processor 436 according to various embodiments may include the plurality of audio output devices (eg, a first
다양한 실시예들에서, 상기 전자 장치(401)의 방향 정보는, 세로 모드 및 가로 모드를 포함하며, 및 상기 전자 장치(401)의 폴딩 상태는, 상기 전자 장치(401)의 펼침 상태 및 접힘 상태를 포함할 수 있다.도 5a는, 다양한 실시예들에 따른, 전자 장치(401)의 계층적인 구조(hierarchy structure)를 도시한 도면(500)이다.In various embodiments, the direction information of the
도 5a를 참조하면, 전자 장치(예: 도 4의 전자 장치(401))는 소프트웨어와 하드웨어를 포함할 수 있다.Referring to FIG. 5A , an electronic device (eg, the
일 실시예에서, 소프트웨어(예: 도 1의 프로그램(140))는 비휘발성 메모리(예: 도 1의 비휘발성 메모리(134))에서 휘발성 메모리(예: 도 1의 휘발성 메모리(132))로 로드되어, 프로세서(예: 도 4의 프로세서(460))에 의해 실행될 수 있다. 소프트웨어는 어플리케이션 계층(application layer)(510), 플랫폼 계층(platform layer)(520), 커널 계층(kernel layer)(530), 및/또는 오디오 계층(audio layer)(540)을 포함할 수 있다. In one embodiment, software (eg,
일 실시예에서, 하드웨어는 입출력 장치(input/output device)(550)를 포함할 수 있다. 예컨대, 입출력 장치(550)는 오디오 출력 장치(551)(예: 도 4의 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))를 포함할 수 있다.In one embodiment, the hardware may include an input/
일 실시예에서, 어플리케이션 계층(510), 플랫폼 계층(520), 커널 계층(530), 및 오디오 계층(540)은 제1 프로세서(예: 도 4의 제1 프로세서(461))에서 실행될 수 있다. 입출력 장치(550)는 제2 프로세서(예: 도 4의 제2 프로세서(463))에 의해 제어될 수 있다.In an embodiment, the
다양한 실시예들에서, 어플리케이션 계층(510)은 미디어 어플리케이션(media application)(511)(예: 도 2의 미디어 플레이어(273))을 포함할 수 있다.In various embodiments, the
다양한 실시예들에서, 미디어 어플리케이션(511)은 오디오 재생과 관련된 기능(예: 오디오 재생을 활성화하는 기능, 오디오 재생을 비활성화하는 기능, 오디오 재생 시 볼륨을 조절하는 기능, 오디오 이퀄라이저 기능, 또는 오디오 재생을 제어하는 기능)을 제어하기 위한 어플리케이션을 포함할 수 있다. 미디어 어플리케이션(511)은 오디오 재생과 관련된 기능을 사용자가 제어할 수 있도록 하는 사용자 인터페이스(user interface)를 제공할 수 있다. 미디어 어플리케이션(511)은 사용자 인터페이스에서 사용자 입력이 수신되면, 수신된 사용자 입력에 대응하는 설정 정보를 플랫폼 계층(520)의 오디오 프레임워크(523)로 전송할 수 있다.In various embodiments, the
다양한 실시예들에서, 미디어 어플리케이션(511)은 멀티 채널의 오디오 데이터를 출력할 수 있다. 예컨대, 멀티 채널의 오디오 데이터는, 2채널(또는, 스테레오), 2.1 채널, 5.1 채널, 7.1 채널 오디오와 같은 입체적인 음향을 제공하기 위해 이용되는 다양한 종류의 멀티 채널의 오디오 데이터를 포함할 수 있다. 미디어 어플리케이션(511)은 출력되는 오디오 데이터를 처리하여 멀티 채널의 오디오 데이터를 생성할 수 있다. 예컨대, 멀티 채널의 오디오 데이터를 2채널의 오디오 데이터로 가정하여 설명하면, 미디어 어플리케이션(511)은 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터를 생성할 수 있다.In various embodiments, the
다양한 실시예들에서, 미디어 어플리케이션(511)은 생성된 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터(563)를 플랫폼 계층(520) 및 커널 계층(530)을 통해 오디오 계층(540)의 스트림 모듈(541)에 전달할 수 있다.In various embodiments, the
다양한 실시예들에서, 플랫폼 계층(520)은 멀티미디어 프레임워크(multimedia framework)(521)(예: 도 2의 멀티미디어 매니저(205)), 오디오 프레임워크(audio framework)(523)(예: 도 2의 멀티미디어 매니저(205)), 및/또는 오디오 하드웨어 추상화 계층(audio HAL(hardware abstraction layer))(525)(예: 도 2의 멀티미디어 매니저(205))을 포함할 수 있다. 오디오 하드웨어 추상화 계층(525)은 제어 모듈(control module)(527)을 포함할 수 있다. In various embodiments, the
다양한 실시예들에서, 오디오 하드웨어 추상화 계층(525)의 제어 모듈(527)은 복수의 오디오 출력 장치들(441, 443, 445, 및 447)을 제어하기 위한 제어 데이터(control data)(565) 예컨대, 복수의 오디오 출력 장치들(441, 443, 445, 및 447)이 출력할 오디오 데이터의 채널 정보를 입출력 장치(550)에 전달할 수 있다. 예컨대, 전자 장치(401)의 방향 정보에 따른 각 오디오 출력 장치(441, 443, 445, 또는 447)에서 최종 출력될 오디오 데이터의 채널 정보는 메모리(예: 도 4의 메모리(420))에 저장되어 있을 수 있다. 제어 모듈(527)은 메모리(420)에 저장된 전자 장치(401)의 방향 정보에 따른 각 오디오 출력 장치(441, 443, 445, 또는 447)가 출력할 오디오 데이터의 채널 정보를 입출력 장치(550)에 전달할 수 있다.In various embodiments, the
다양한 실시예들에서, 멀티미디어 프레임워크(521)는 미디어 어플리케이션(511)이 재생하는 오디오의 재생 관련 API(application programming interface)를 제공할 수 있다. 멀티미디어 프레임워크(521)는 재생될 오디오 데이터를 디코딩하는 방식으로, 오디오 계층(540)에 제공될 수 있는 포맷(예: PCM(pulse code modulation) 데이터 포맷)으로 변환할 수 있다. In various embodiments, the
다양한 실시예들에서, 멀티미디어 프레임워크(521)는 오디오 데이터에 대한 정보(예: 오디오 데이터의 샘플링 레이트(sampling rate), 채널의 수, 및/또는 오디오 데이터의 크기(bit-width))를 오디오 프레임워크(523)로 전송할 수 있다.In various embodiments, the
다양한 실시예들에서, 오디오 프레임워크(523)는 미디어 어플리케이션(511)이 오디오 출력을 수행할 수 있는 전자 장치(401)의 구성 요소(예: 도 4의 오디오 출력 장치(440))가 지원 가능한 기능들을 제공할 수 있다.In various embodiments, the
다양한 실시예들에서, 오디오 프레임워크(523)는 멀티미디어 프레임워크(521)가 전송한 오디오 데이터를 수신하고, 수신한 오디오 데이터를 오디오 스트림(audio stream)으로 변환할 수 있다. 오디오 스트림은 다양한 방식으로 구분된 오디오 데이터를 의미할 수 있다. 예컨대, 오디오 스트림은 오디오 스트림을 처리하기 위해 요구되는 버퍼의 크기에 따라 구분된 오디오 데이터를 의미할 수 있다. 버퍼는 스트림 모듈(541) 상에 구현된 버퍼를 포함할 수 있다. 예컨대, 오디오 스트림은 상대적으로 큰 크기를 가지는 버퍼가 요구되는 미디어 어플리케이션(511)이 제공하는 오디오를 포함하는 오디오 스트림, 상대적으로 작은 크기를 가지는 버퍼가 요구되는 알림 어플리케이션 또는 전화 어플리케이션이 제공하는 오디오(예: 노티 사운드, 링-톤 사운드)를 포함하는 오디오 스트림을 포함할 수 있다. 오디오 스트림은 출력되는 채널 또는 출력 장치에 따라 구분될 수 있다.In various embodiments, the
다양한 실시예들에서, 오디오 하드웨어 추상화 계층(525)은 하드웨어(예: 입출력 장치(550))와 미디어 어플리케이션(511), 멀티미디어 프레임워크(521), 또는 오디오 프레임워크(523) 사이의 추상화된 계층을 관리할 수 있다. 오디오 하드웨어 추상화 계층(525)은 오디오 프레임워크(523)가 전송한 입출력 장치(550)에 대한 정보를 수신하고, 입출력 장치(550)를 제어하기 위한 제어 신호를 생성하고, 제어 신호를 오디오 드라이버(audio driver)(533)로 전송할 수 있다.In various embodiments, audio
다양한 실시예들에서, 오디오 하드웨어 추상화 계층(525)은 오디오 스트림의 정보(예: 오디오 스트림의 샘플링 레이트, 채널의 수, 및/또는 오디오 스트림의 크기), 입출력 장치(550)에 대한 정보에 기반하여 오디오 드라이버(533)를 제어할 수 있다.In various embodiments, the audio
다양한 실시예들에서, 커널 계층(530)은 오디오를 출력하는 하드웨어(예: 입출력 장치(550))를 제어하는 엔티티들이 구현된 계층일 수 있다. 커널 계층(530)은 오디오를 출력하는 하드웨어를 제어하는 오디오 드라이버(533) 및 오디오 하드웨어 추상화 계층(525)과 오디오 드라이버(533) 사이의 인터페이스를 제공하는 ALSA(advanced linux sound architecture) API & SOC 코어(system-on-a-chip core)(531)를 포함할 수 있다.In various embodiments, the
다양한 실시예들에서, 오디오 드라이버(533)는 오디오 하드웨어 추상화 계층(525)이 전송하는 제어 신호를 수신하고, 제어 신호에 기반하여 오디오를 출력하는 하드웨어(예: 입출력 장치(550))를 제어할 수 있다.In various embodiments, the
다양한 실시예들에서, 오디오 계층(540)은 어플리케이션 계층(510) 및 플랫폼 계층(520)에서 생성된 오디오 스트림을 처리하고, 오디오 스트림을 입출력 장치(550)로 출력하기 위한 다양한 동작을 수행할 수 있다. 오디오 계층(540)은 스트림 모듈(stream module)(541), 디바이스 모듈(device module)(543), 및/또는 포트 모듈(port module)(545)을 포함할 수 있다.In various embodiments, the
다양한 실시예들에서, 스트림 모듈(541)은 플랫폼 계층(520)의 오디오 하드웨어 추상화 계층(525)에서 전송한 오디오 스트림 및 제어 신호를 수신하고, 제어 신호에 기반하여 오디오 스트림을 처리할 수 있다. 스트림 모듈(541)에 포함된 스트림 프로세싱 모듈(stream processing module)(542)은 오디오 재생을 요청하는 제어 신호를 수신하고, 수신한 오디오 스트림에 대한 다양한 효과(예: 음장 효과)를 적용하고, 처리된 오디오 스트림을 디바이스 모듈(543)로 전송할 수 있다. 스트림 프로세싱 모듈(542)은 오디오 스트림 단위 별로 오디오 스트림을 처리할 수 있다. 스트림 프로세싱 모듈(542)은 오디오 스트림을 처리하기 위해서, 버퍼를 포함할 수 있다.In various embodiments, the
다양한 실시예들에서, 디바이스 모듈(543)은 스트림 모듈(541)에서 전송한 오디오 스트림에 대한 후처리(post-processing)를 수행하는 디바이스 프로세싱 모듈(device processing module)(544)을 포함할 수 있다.In various embodiments, the
다양한 실시예들에서, 포트 모듈(port module)(545)은 디바이스 모듈(543)이 전송하는 오디오 스트림을 출력 포트에 할당하는 출력 포트 모듈(output port module)(546)을 포함할 수 있다.In various embodiments, the
다양한 실시예들에서, 입출력 장치(550)는 오디오 하드웨어 추상화 계층(525)의 제어 모듈(527)로부터 복수의 오디오 출력 장치들이 출력할 오디오 데이터의 채널 정보(예: 제어 데이터(565))를 수신할 수 있다.In various embodiments, the input/
다양한 실시예들에서, 입출력 장치(550)는 미디어 어플리케이션(511)으로부터 출력되는 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터(563)를 오디오 계층(540)의 스트림 모듈(541), 장치 모듈(543), 포트 모듈(545)을 통해 수신할 수 있다. 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터(563)는 별도의 프로세싱을 거치지 않는 원본의 제1 채널의 오디오 데이터 및 제2 채널의 오디오 데이터를 포함할 수 있다. In various embodiments, the input/
다양한 실시예들에서, 입출력 장치(550)는 커널 계층(530)을 통해 오디오 하드웨어 추상화 계층(525)의 제어 모듈(527)로부터 전자 장치(401)의 방향 정보에 따른 오디오 출력 장치(551)를 제어하기 위한 제어 데이터(565) 예컨대, 복수의 오디오 출력 장치들(441, 443, 445, 447)이 출력할 오디오 데이터의 채널 정보를 수신할 수 있다.In various embodiments, the input/
다양한 실시예들에 따른, 입출력 장치(550)에 포함된 각 오디오 출력 장치(441, 443, 445, 447)는 채널 정보에 기반하여, 제1 채널(예: L 채널)의 오디오 데이터 또는 제2 채널(예: R 채널)의 오디오 데이터(563)를 출력(561)할 수 있다.According to various embodiments, each
다양한 실시예들에서, 전자 장치(401)가 폴더블 장치로 구성되는 경우, 입출력 장치(550)는 커널 계층(530)을 통해 오디오 하드웨어 추상화 계층(525)의 제어 모듈(527)로부터 전자 장치(401)의 방향 정보 및/또는 폴딩 상태에 따른 복수의 오디오 출력 장치들(441, 443, 445, 및 447)을 제어하기 위한 제어 데이터(565) 예컨대, 복수의 오디오 출력 장치들(441, 443, 445, 및 447)이 출력할 오디오 데이터의 채널 정보를 수신할 수 있다.In various embodiments, when the
도 5b는, 다양한 실시예들에 따른, 전자 장치(401)의 방향 정보에 따른 멀티 채널의 오디오 데이터를 출력하는 방법을 설명하기 위한 도면(570)이다.FIG. 5B is a diagram 570 for explaining a method of outputting multi-channel audio data according to direction information of the
도 5b를 참조하면, 어플리케이션 계층(510)의 미디어 어플리케이션(media application)(511)은 L 채널(left channel)(예: 제1 채널) 오디오 데이터 및 R 채널(right channel)(예: 제2 채널)의 오디오 데이터를 재생(571)할 수 있다.Referring to FIG. 5B , a
일 실시예예에서, 재생되는 L 채널(예: 제1 채널)의 오디오 데이터 및 R 채널(예: 제2 채널)의 오디오 데이터(571)는 별도의 프로세싱 없이(573), 오디오 계층(540)의 스트림 모듈(541), 및 장치 모듈(543)을 통해 포트 모듈(545)로 전달될 수 있다. 포트 모듈(545)은 하나의 출력 포트를 통해 재생되는 L 채널(예: 제1 채널)의 오디오 데이터 및 R 채널(예: 제2 채널)의 오디오 데이터(571)를 오디오 출력 장치 예컨대, 제1 앰프(예: 도 4의 제1 오디오 출력 장치(441)), 제2 앰프(예: 도 4의 제2 오디오 출력 장치(443)), 제3 앰프(예: 도 4의 제3 오디오 출력 장치(445)), 및 제4 앰프(예: 도 4의 제4 오디오 출력 장치(447))에 출력(575)할 수 있다.In one embodiment, the audio data of the L channel (eg, the first channel) and the
일 실시예에서, 오디오 하드웨어 추상화 계층(525)의 제어 모듈(527)은 제어 소프트웨어를 통해 전자 장치(401)의 방향 정보(예: 세로 모드 및 가로 모드)에 따른 각 앰프가 출력할 오디오 데이터의 채널 정보(예: L 채널(예: 제1 채널) 정보 및 R 채널(예: 제2 채널) 정보)를 오디오 출력 장치 예컨대, 제1 앰프, 제2 앰프, 제3 앰프, 및 제4 앰프에 전송(577)할 수 있다.In one embodiment, the
일 실시예에서, 각 앰프(예: 제1 앰프, 제2 앰프, 제3 앰프, 또는 제4 앰프)는 수신한 채널 정보에 기반하여, L 채널의 오디오 데이터 또는 R 채널의 오디오 데이터를 출력(579)할 수 있다. 예컨대, 전자 장치(401)는 전자 장치(401)의 방향 정보가 세로 모드인 경우, 수신한 채널 정보에 기반하여 제1 앰프 및/또는 제3 앰프가 L 채널의 오디오 데이터를 출력하도록 제어하고, 제2 앰프 및/또는 제4 앰프가 R 채널의 오디오 데이터를 출력하도록, 각 앰프를 제어할 수 있다. 다른 예를 들어, 전자 장치(401)는 전자 장치(401)의 방향 정보가 가로 모드인 경우, 수신한 채널 정보에 기반하여 제1 앰프 및/또는 제2 앰프가 R 채널의 오디오 데이터를 출력하도록 제어하고, 제3 앰프 및/또는 제4 앰프가 L 채널의 오디오 데이터를 출력하도록, 각 앰프를 제어할 수 있다.In one embodiment, each amplifier (eg, the first amplifier, the second amplifier, the third amplifier, or the fourth amplifier) outputs audio data of the L channel or the audio data of the R channel based on the received channel information ( 579) can be done. For example, when the direction information of the
도 6은, 다양한 실시예들에 따른, 전자 장치(401)의 방향 정보에 따른 멀티 채널의 오디오 데이터를 출력하는 방법을 설명하기 위한 흐름도(600)이다.6 is a
도 6을 참조하면, 전자 장치(예: 도 4의 전자 장치(401))의 프로세서(예: 도 4의 프로세서(460))(예: 도 4의 제1 프로세서(461))는 605동작에서, 오디오 데이터의 출력을 검출할 수 있다.Referring to FIG. 6 , the processor (eg, the
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 미디어 어플리케이션(예: 도 5a의 미디어 어플리케이션(511))을 통해 오디오 데이터의 출력을 검출할 수 있다. 오디오 데이터는 멀티 채널의 오디오 데이터를 포함할 수 있다. 멀티 채널의 오디오 데이터는, 2채널(또는, 스테레오), 2.1 채널, 5.1 채널, 및/또는 7.1 채널 오디오와 같은 입체적인 음향을 제공하기 위해 이용되는 다양한 종류의 멀티 채널의 오디오 데이터를 포함할 수 있다. In an embodiment, the processor 460 (eg, the first processor 461 ) may detect output of audio data through a media application (eg, the
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 미디어 어플리케이션(511)을 통해 출력되는 오디오 데이터를 처리하여 멀티 채널의 오디오 데이터를 생성할 수 있다.In an embodiment, the processor 460 (eg, the first processor 461 ) may process audio data output through the
이하 실시예에서, 멀티 채널의 오디오 데이터는, 2채널의 오디오 데이터로 가정하여 설명한다. 예컨대, 프로세서(460)는 오디오 데이터를 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터로 생성할 수 있다.In the following embodiment, it is assumed that multi-channel audio data is 2-channel audio data. For example, the
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 생성된 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터를 플랫폼 계층(예: 도 5a의 플랫폼 계층(520)), 커널 계층(예: 도 5a의 커널 계층(530)), 및 오디오 계층(예: 도 5a의 오디오 계층(540))을 통해 입출력 장치(예: 도 5a의 입출력 장치(550))(예: 도 4의 제2 프로세서(463))에 전달할 수 있다.In an embodiment, the processor 460 (eg, the first processor 461 ) transmits the generated audio data of the first channel (eg, L channel) and the audio data of the second channel (eg, R channel) to the platform layer. (eg, the
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 610동작에서, 전자 장치(401)의 방향 정보를 확인할 수 있다. 예컨대, 프로세서(460)(예: 제1 프로세서(461))는 센서 회로(예: 도 4의 센서 회로(430))(예: 가속도 센서, 지자계 센서, 및/또는 자이로 센서)를 통해 전자 장치(401)의 제1 측면(예: 도 3의 제1 측면(311))이 향하는 방향을 결정할 수 있다. 프로세서(460)(예: 제1 프로세서(461))는 센서 회로(430)를 통해 전자 장치(401)의 움직임 정보(예: 전자 장치(401)의 움직임 방향, 전자 장치(401)의 기울기)를 획득하고, 이에 기반하여 전자 장치(401)의 제1 측면(311)이 향하는 방향을 결정할 수 있다.In an embodiment, the processor 460 (eg, the first processor 461 ) may check direction information of the
일 실시예에서, 전자 장치(401)의 방향(orientation) 정보는 세로 모드(portrait mode) 및 가로 모드(landscape mode)를 포함할 수 있다. In an embodiment, the orientation information of the
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 615동작에서, 전자 장치(401)의 방향 정보에 기반하여, 각 오디오 출력 장치에 최종 출력할 오디오 데이터의 채널 정보를 전송할 수 있다.In an embodiment, the processor 460 (eg, the first processor 461 ) transmits channel information of audio data to be finally output to each audio output device based on the direction information of the
다양한 실시예들에서, 전자 장치(401)는 복수의 오디오 출력 장치들을 포함할 수 있다. 예컨대, 복수의 오디오 출력 장치들은, 제1 오디오 출력 장치(예: 도 3의 제1 오디오 출력 장치(321)), 제2 오디오 출력 장치(예: 도 3의 제2 오디오 출력 장치(323)), 제3 오디오 출력 장치(예: 도 3의 제3 오디오 출력 장치(325)), 제4 오디오 출력 장치(예: 도 3의 제4 오디오 출력 장치(327))를 포함할 수 있다. In various embodiments, the
다양한 실시예들에서, 전자 장치(401)의 방향 정보가 세로 모드(예: 참조번호 <310>)에서 전자 장치(401)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치와 전자 장치(401)의 방향 정보가 가로 모드(예: 참조번호 <350>)에서 전자 장치(401)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치는 상이할 수 있다.In various embodiments, the direction information of the
예컨대, 전자 장치(401)의 방향 정보가 세로 모드에서 전자 장치(401)를 정면에서 바라볼 때의 제1 오디오 출력 장치(321)는 전자 장치(401)의 상단 좌측에 배치되고, 전자 장치(401)의 방향 정보가 가로 모드에서 전자 장치(401)를 정면에서 바라볼 때의 제1 오디오 출력 장치(321)는 전자 장치(401)의 우측 상단에 배치된 것으로 확인될 수 있다.For example, when the direction information of the
다른 예를 들어, 전자 장치(401)의 방향 정보가 세로 모드(예: 참조번호 <310>)에서 전자 장치(401)를 정면에서 바라볼 때의 제2 오디오 출력 장치(323)는 전자 장치(401)의 상단 우측에 배치되고, 전자 장치(401)의 방향 정보가 가로 모드에서 전자 장치(401)를 정면에서 바라볼 때의 제2 오디오 출력 장치(323)는 전자 장치(401)의 우측 하단에 배치된 것으로 확인될 수 있다.As another example, when the direction information of the
또 다른 예를 들어, 전자 장치(401)의 방향 정보가 세로 모드(예: 참조번호 <310>)에서 전자 장치(401)를 정면에서 바라볼 때의 제3 오디오 출력 장치(325)는 전자 장치(401)의 하단 좌측에 배치되고, 전자 장치(401)의 방향 정보가 가로 모드에서 전자 장치(401)를 정면에서 바라볼 때의 제3 오디오 출력 장치(325)는 전자 장치(401)의 좌측 상단에 배치된 것으로 확인될 수 있다.As another example, when the direction information of the
또 다른 예를 들어, 전자 장치(401)의 방향 정보가 세로 모드(예: 참조번호 <310>)에서 전자 장치(401)를 정면에서 바라볼 때의 제4 오디오 출력 장치(327)는 전자 장치(401)의 하단 우측에 배치되고, 전자 장치(401)의 방향 정보가 가로 모드에서 전자 장치(401)를 정면에서 바라볼 때의 제4 오디오 출력 장치(327)는 전자 장치(401)의 좌측 하단에 배치된 것으로 확인될 수 있다.As another example, when the direction information of the
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는전자 장치(401)의 방향 정보에 기반하여, 복수의 오디오 출력 장치들 각각의 위치 정보에 따른 채널의 오디오 데이터를 출력(예: 오디오 데이터의 종류(예: 채널 종류)에 기반하여, 복수의 오디오 출력 장치들 각각이 서로 다른 종류(예: 채널)의 오디오 데이터를 출력)하도록, 최종 출력할 오디오 데이터의 채널 정보를 각 오디오 출력 장치(예: 제2 프로세서(463))에 전송할 수 있다. 예컨대, 프로세서(460)(예: 제1 프로세서(461)) 예컨대, 플랫폼 계층(520)의 오디오 하드웨어 추상화 계층(525)에 포함된 제어 모듈(527)은, 전자 장치(401)의 방향 정보에 따른 복수의 오디오 출력 장치들(321, 323, 325, 및 327)을 제어하기 위한 제어 데이터 예컨대, 복수의 오디오 출력 장치들(321, 323, 325, 및 327)이 출력할 오디오 데이터의 채널 정보를 입출력 장치(550)(예: 제2 프로세서(463))에 전달할 수 있다. In an embodiment, the processor 460 (eg, the first processor 461 ) outputs, based on direction information of the
다양한 실시예들에서, 하기 <표 1> 및 <표 2>와 같은 전자 장치(401)의 방향 정보에 기반하여, 각 오디오 출력 장치(321, 323, 325, 또는 327)가 배치된 위치에 따른 각 오디오 출력 장치(321, 323, 325, 또는 327)에서 최종 출력할 오디오 데이터의 채널 정보는, 메모리(예: 도 4의 메모리(420))에 저장되어 있을 수 있다.In various embodiments, based on direction information of the
채널 정보of the final output audio data.
Channel information
채널 정보of the final output audio data.
Channel information
일 실시예에서, 프로세서(460)(예: 제2 프로세서(463))는 620동작에서, 각 오디오 출력 장치에 전체 오디오 데이터를 전송하고, 채널 정보에 기반하여 각 오디오 출력 장치에서 최종 출력할 채널을 선택하여 오디오 데이터를 출력하도록 복수의 오디오 출력 장치들을 제어할 수 있다. 예컨대, 오디오 하드웨어 추상화 계층(525)에 포함된 제어 모듈(527)로부터 수신한 복수의 오디오 출력 장치들(321, 323, 325, 및 327)이 출력할 오디오 데이터의 채널 정보(예: <표 1> 또는 <표 2>)에 기반하여, 프로세서(460)(예: 제2 프로세서(463))는 각 오디오 출력 장치(321, 323, 325, 또는 327)가 해당 채널의 오디오 데이터를 출력하도록 제어할 수 있다.In an embodiment, the processor 460 (eg, the second processor 463 ) transmits all audio data to each audio output device in
예컨대, 프로세서(460)(예: 제2 프로세서(463))는 제1 오디오 출력 장치(321) 및 제3 오디오 출력 장치(325)가 미디어 어플리케이션(511)로부터 수신한 제1 채널의 오디오 데이터를 출력하도록 제어하고, 제2 오디오 출력 장치(323) 및 제4 오디오 출력 장치(327)가 미디어 어플리케이션(511)로부터 수신한 제2 채널의 오디오 데이터를 출력하도록 제어할 수 있다.For example, the processor 460 (eg, the second processor 463 ) receives audio data of the first channel received by the first
다른 예를 들어, 프로세서(460)(예: 제2 프로세서(463))는 제3 오디오 출력 장치(325) 및 제4 오디오 출력 장치(327)가 제1 채널의 오디오 데이터를 출력하도록 제어하고, 제1 오디오 출력 장치(321) 및 제2 오디오 출력 장치(323)가 제2 채널의 오디오 데이터를 출력하도록 제어할 수 있다.For another example, the processor 460 (eg, the second processor 463 ) controls the third
다양한 실시예들에 따른, <표 1> 및 <표 2>에 따른 각 오디오 출력 장치가 출력할 오디오 데이터의 채널 정보는 하나의 실시예로, 이에 한정하는 것은 아니다.Channel information of audio data to be output by each audio output device according to <Table 1> and <Table 2> according to various embodiments of the present disclosure is only one embodiment, but is not limited thereto.
다양한 실시예들에 따른 도 6에서, 전자 장치(401)는 제어 모듈(527)을 통해 수신한 복수의 오디오 출력 장치들이 출력할 오디오 데이터의 채널 정보에 기반하여, 미디어 어플리케이션(511)을 통해 생성된 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터(예: 별도의 프로세싱을 거치지 않는 원본의 제1 및 제2 오디오 데이터)를 출력하도록 복수의 오디오 출력 장치들을 제어함으로써, 오디오 데이터의 프로세싱에 따른 시간 지연을 최소화할 수 있다. 이에 따라, 실시간성이 요구되는 게임 및/또는 라이브 스트리밍과 같은 컨텐츠를 재생하는 경우, 오디오 데이터와 영상 데이터 간의 이질감을 해소할 수 있어, 전자 장치(401)의 사용성을 증대시킬 수 있다.6 , the
도 7은, 다양한 실시예들에 따른, 전자 장치(401)의 방향 정보가 변경되는 것에 기반하여, 멀티 채널의 오디오 데이터를 출력하는 방법을 설명하기 위한 흐름도(700)이다. 7 is a flowchart 700 for explaining a method of outputting multi-channel audio data based on a change in direction information of the
다양한 실시예들에 따른 도 7의 동작들은, 전술한 도 6의 620동작의 추가적인 동작일 수 있다.Operations of FIG. 7 according to various embodiments may be additional operations of
도 7을 참조하면, 전자 장치(예: 도 4의 전자 장치(401))의 프로세서(예: 도 4의 프로세서(460))(예: 도 4의 제1 프로세서(461))는 705동작에서, 전자 장치(401)의 방향 정보가 변경(예: 전환)되었는지 여부를 결정할 수 있다. 예컨대, 전자 장치(401)의 방향 정보의 변경은, 세로 모드(예: 도 3의 참조번호 <310>)에서 가로 모드(예: 도 3의 참조번호 <350>)로 변경, 가로 모드(예: 도 3의 참조번호 <350>)에서 세로 모드(예: 도 3의 참조번호 <310>)로 변경을 포함할 수 있다. 프로세서(460)(예: 제1 프로세서(461))는 센서 회로(예: 도 4의 센서 회로(430))를 통해 전자 장치(401)의 움직임 정보를 획득하고, 이에 기반하여, 전자 장치(401)의 방향 정보가 변경(예: 전환)되었는지 여부를 결정할 수 있다.Referring to FIG. 7 , the processor (eg, the
일 실시예에서, 전자 장치(401)의 방향 정보가 변경된 경우(예: 705동작의 YES), 프로세서(460)(예: 제1 프로세서(461))는 710동작에서, 전자 장치(401)의 변경된 방향 정보에 기반하여, 각 오디오 출력 장치에 최종 출력할 오디오 데이터의 변경된 채널 정보를 전송할 수 있다. 예컨대, 전자 장치(401)의 방향 정보가 세로 모드(또는 가로 모드)에서 가로 모드(또는 세로 모드)로 전환됨에 따라 전자 장치(401)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들(321, 323, 325, 및 327)이 배치되는 위치 정보 또한 변경될 수 있으며, 이에 따라 최종 출력할 오디오 데이터의 채널 정보 또한 변경될 수 있다.In an embodiment, when the direction information of the
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461)) 예컨대, 플랫폼 계층(520)의 오디오 하드웨어 추상화 계층(525)에 포함된 제어 모듈(527)은, 전자 장치(401)의 변경된 방향 정보에 따라 복수의 오디오 출력 장치들(321, 323, 325, 및 327)을 제어하기 위한 변경된 제어 데이터 예컨대, 복수의 오디오 출력 장치들(321, 323, 325, 및 327)이 출력할 오디오 데이터의 변경된 채널 정보를 입출력 장치(550)(예: 제2 프로세서(463))에 전달할 수 있다.In an embodiment, the processor 460 (eg, the first processor 461 ), for example, the
일 실시예에서, 프로세서(460)(예: 도 4의 제2 프로세서(463))는 715동작에서, 각 오디오 출력 장치에 전체 오디오 데이터를 전송하고, 변경된 채널 정보에 기반하여 각 오디오 출력 장치에서 최종 출력할 채널을 선택하여 오디오 데이터를 출력하도록 복수의 오디오 출력 장치들(321, 323, 325, 및 327)을 제어할 수 있다.In an embodiment, the processor 460 (eg, the
예컨대, 오디오 하드웨어 추상화 계층(525)에 포함된 제어 모듈(527)로부터 수신한 변경된 전자 장치(401)의 방향 정보에 따른 복수의 오디오 출력 장치들(321, 323, 325, 및 327)이 출력할 오디오 데이터의 변경된 채널 정보(예: <표 1> 또는 <표 2>)에 기반하여, 프로세서(460)(예: 제2 프로세서(463))는 각 오디오 출력 장치(321, 323, 325, 또는 327)가 해당 채널의 오디오 데이터를 출력하도록 할 수 있다.For example, the plurality of
예컨대, 프로세서(460)(예: 제2 프로세서(463))는 전자 장치(401)의 방향 정보가 세로 모드에서 가로 모드로 변경된 경우, 전술한 <표 2>에 기반하여 각 오디오 출력 장치(321, 323, 325, 또는 327)가 해당 채널의 오디오 데이터를 출력하도록 할 수 있다. 이 경우, 프로세서(460)(예: 제2 프로세서(463))는 제3 오디오 출력 장치(325) 및 제4 오디오 출력 장치(327)가 제1 채널의 오디오 데이터를 출력하도록 제어하고, 제1 오디오 출력 장치(321) 및 제2 오디오 출력 장치(323)가 제2 채널의 오디오 데이터를 출력하도록 제어할 수 있다.For example, when the direction information of the
다른 예를 들어, 프로세서(460)(예: 제2 프로세서(463))는 전자 장치(401)의 방향 정보가 가로 모드에서 세로 모드로 변경된 경우, 전술한 <표 1>에 기반하여 각 오디오 출력 장치(321, 323, 325, 또는 327)가 해당 채널의 오디오 데이터를 출력하도록 할 수 있다. 이 경우, 프로세서(460)(예: 제2 프로세서(463))는 제1 오디오 출력 장치(321) 및 제3 오디오 출력 장치(325)가 제1 채널의 오디오 데이터를 출력하도록 제어하고, 제2 오디오 출력 장치(323) 및 제4 오디오 출력 장치(327)가 제2 채널의 오디오 데이터를 출력하도록 제어할 수 있다.As another example, when the direction information of the
일 실시예에서, 전자 장치(401)의 방향 정보가 변경되지 않은 경우(예: 705동작의 NO), 프로세서(460)(예: 제2 프로세서(463))는 전술한 도 6의 620동작을 계속해서 수행할 수 있다.In an embodiment, when the direction information of the
다양한 실시예들에 따른 도 7에서, 오디오 데이터가 출력되는 중에 전자 장치(401)의 방향 정보가 변경된 경우, 프로세서(460)(예: 제1 프로세서(461))는 동적으로 전자 장치(401)의 방향 정보를 확인하여, 각 오디오 출력 장치(321, 323, 325, 또는 327)에 오디오 데이터의 변경된 채널 정보를 전달할 수 있다. 각 오디오 출력 장치(예: 제2 프로세서(463))는 변경된 채널 정보에 기반하여 해당 채널의 오디오 데이터를 출력할 수 있다. 이에 따라, 전자 장치(401)의 방향 정보의 변경을 검출하는 경우, 복수의 오디오 출력 장치들은 오디오 데이터에 대해 별도의 프로세싱 없이, 오디오 데이터의 변경된 채널 정보에 기반하여 오디오 데이터를 출력함으로써, 오디오 데이터의 처리 지연에 따른 전자 장치(401)의 사용성 저하를 방지할 수 있다.In FIG. 7 according to various embodiments of the present disclosure, when direction information of the
도 8a는, 다양한 실시예들에 따른, 전자 장치(801)의 펼침 상태(flat state 또는 opening state)를 도시한 도면(800)이다. 도 8b는, 다양한 실시예들에 따른, 전자 장치(801)의 접힘 상태(folding state 또는 closing state)를 도시한 도면(870)이다.FIG. 8A is a diagram 800 illustrating a flat state or an opening state of an
다양한 실시예들에 따른 도 3에서 전자 장치(예: 도 3의 전자 장치(301))를 평판형(plate type)의 폼 팩터(form factor)를 가지는 것으로 설명하였지만, 이에 한정하는 것은 아니다. 예컨대, 전자 장치(801)는 도 8a 및 도 8b에 도시된 바와 같이 폴더블 타입(foldable type)(예: 인 폴딩 타입 또는 아웃 폴딩 타입)의 폼 팩터를 가질 수 있다.Although the electronic device (eg, the electronic device 301 of FIG. 3 ) is described as having a plate type form factor in FIG. 3 according to various embodiments, the present disclosure is not limited thereto. For example, the
도 8a및 도 8b를 참조하면, 전자 장치(801)(예: 도 4의 전자 장치(401))는, 서로에 대하여 접히도록 힌지 구조(825)를 통해 회동 가능하게 결합되는 한 쌍의 하우징 구조(예: 제1 하우징 구조(820), 제2 하우징 구조(830))(예: 폴더블 하우징 구조)를 포함할 수 있다.8A and 8B , an electronic device 801 (eg, the
일 실시예에서, 제1 하우징 구조(820)와 제2 하우징 구조(830)는 폴딩 축(880)을 중심으로 양측에 배치되고, 폴딩 축(880)에 대하여 전체적으로 대칭인 형상을 가질 수 있다.In an embodiment, the
일 실시예에서, 도 8a에 도시된 바와 같이, 전자 장치(801)가 펼침 상태(flat state 또는 opening state)인 경우, 제1 하우징 구조(820) 및 제2 하우징 구조(830)는 180도의 각도를 이룰 수 있다.In one embodiment, as shown in FIG. 8A , when the
다양한 실시예들에서, 도 8a의 참조번호 <810>은 전자 장치(801)의 방향 정보가 세로 모드에서 펼침 상태를 나타낸 도면이고, 도 8a의 참조번호 <850>은 전자 장치(801)의 방향 정보가 가로 모드에서 펼침 상태를 나타낸 도면이다.In various embodiments, reference number <810> of FIG. 8A indicates a state in which direction information of the
다양한 실시예들에서, 전자 장치(801)는 센서(예: 도 4의 센서 회로(430))를 통해서 전자 장치(801)의 방향 정보 및/또는 폴딩 상태를 확인할 수 있다. 전자 장치(301)의 방향 정보가 세로 모드(예: 참조번호 <810>의 상태) 및 가로 모드(예: 참조번호 <850>의 상태)를 포함할 수 있다. 전자 장치(801)의 폴딩 상태는 펼침 상태 및 닫힘 상태를 포함할 수 있다.In various embodiments, the
예컨대, 전자 장치(801)의 방향 정보가 세로 모드에서 펼침 상태는, 참조번호 <810>에 도시된 바와 같이, 전자 장치(801)의 제1 측면(821, 831)이 제1 방향(예: ① 방향)으로 향하도록 배치되고, 전자 장치(801)의 제2 측면(822, 832)이 제1 방향(예: ① 방향)과 반대인 제2 방향(예: ② 방향)으로 향하도록 배치되는 상태를 포함할 수 있다.For example, in the unfolded state of the orientation information of the
다른 예를 들어, 전자 장치(801)의 방향 정보가 가로 모드에서 펼침 상태는, 참조번호 <850>에 도시된 바와 같이, 전자 장치(801)의 제3 측면(823)이 제1 방향(예: ① 방향)으로 향하도록 배치되고, 전자 장치(801)의 제4 측면(833)이 제1 방향(예: ① 방향)과 반대인 제2 방향(예: ② 방향)으로 향하도록 배치되는 상태를 포함할 수 있다.As another example, in the unfolded state of the direction information of the
다양한 실시예들에서, 전자 장치(801)는 복수의 오디오 출력 장치들(841, 843, 845, 847)을 포함할 수 있다. 복수의 오디오 출력 장치들(841, 843, 845, 847)은 전자 장치(801)의 힌지 구조(825)를 중심으로 회전되는 제1 하우징(820) 및 제2 하우징(830)에 구비될 수 있다. 예컨대, 복수의 오디오 출력 장치들(841, 843, 845, 847) 각각은 각 하우징의 측면(예: 제1 측면(821, 831), 제2 측면(822, 832))에 위치될 수 있다.In various embodiments, the
일 실시예에서, 복수의 오디오 출력 장치들(841, 843, 845, 847)은 서로 대응하는 위치에 위치될 수 있다. 예컨대, 제1 하우징(820)의 제1 측면(821)에 제1 오디오 출력 장치(841)(예: 도 4의 제1 오디오 출력 장치(441))가 위치되고, 이에 대응하여 제1 하우징(820)의 제2 측면(822)에 제2 오디오 출력 장치(845)(예: 도 4의 제3 오디오 출력 장치(445))가 위치될 수 있다. 제1 하우징(820)의 제1 측면(821)에 위치된 제1 오디오 출력 장치(841)에 대응하여 제1 하우징(820)과 접철 가능한 제2 하우징(830)의 제1 측면(831)에 제2 오디오 출력 장치(843)(예: 도 4의 제2 오디오 출력 장치(443))가 위치되고, 이에 대응하여 제2 하우징(830)의 제2 측면(832)에 제4 오디오 출력 장치(847)(예: 도 4의 제4 오디오 출력 장치(447))가 위치될 수 있다.In an embodiment, the plurality of
다양한 실시예들에 따른, 전자 장치(801)는 폴더블 타입(foldable type)(예: 인 폴딩 타입 또는 아웃 폴딩 타입)의 폼 팩터를 가지는 경우, 전자 장치(801)에 배치되는 복수의 오디오 출력 장치들(841, 843, 845, 및 847)의 위치는, 전술한 도 8a의 실시예에 한정하는 것은 아니다.According to various embodiments, when the
다양한 실시예들에서, 전자 장치(801)가 세로 모드 및 펼침 상태(예: 참조번호 <810>)에서 전자 장치(801)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치와 전자 장치(801)가 가로 모드 및 펼침 상태(예: 참조번호 <850>)에서 전자 장치(801)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치는 상이할 수 있다.In various embodiments, when the
예컨대, 참조번호 <810>에 도시된 바와 같이, 전자 장치(801)가 세로 모드 및 펼침 상태에서, 전자 장치(801)를 정면에서 바라볼 때의 제1 오디오 출력 장치(841)는 전자 장치(801)의 상단 좌측에 배치될 수 있고, 제2 오디오 출력 장치(843)는 전자 장치(801)의 상단 우측에 배치될 수 있고, 제3 오디오 출력 장치(845)는 전자 장치(801)의 하단 좌측에 배치될 수 있고, 제4 오디오 출력 장치(847)는 전자 장치(801)의 하단 우측에 배치될 수 있다.For example, as shown in reference numeral <810>, when the
다른 예를 들어, 참조번호 <850>에 도시된 바와 같이 전자 장치(801)가 가로 모드 및 펼침 상태에서, 전자 장치(801)를 정면에서 바라볼 때의 제1 오디오 출력 장치(841)는 전자 장치(801)의 우측 상단에 배치될 수 있고, 제2 오디오 출력 장치(843)는 전자 장치(801)의 우측 하단에 배치될 수 있고, 제3 오디오 출력 장치(845)는 전자 장치(801)의 좌측 상단에 배치될 수 있고, 제4 오디오 출력 장치(847)는 전자 장치(801)의 좌측 하단에 배치될 수 있다.For another example, as shown by
도 8b를 참조하면, 전자 장치(801)가 접힘 상태(folding state 또는 closing state)인 경우, 제1 하우징 구조(820) 및 제2 하우징 구조(830)는 서로 마주보게 배치될 수 있다. 전자 장치(801)가 접힘 상태에서, 제1 오디오 출력 장치(841)와 제3 오디오 출력 장치(845)가 서로 대응되게 배치될 수 있으며, 제2 오디오 출력 장치(843)와 제4 오디오 출력 장치(847)가 서로 대응되게 배치될 수 있다.Referring to FIG. 8B , when the
다양한 실시예들에서, 전자 장치(801)의 전자 장치(801)가 세로 모드 및 접힘 상태에서 전자 장치(801)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치와 전자 장치(801)가 가로 모드 및 접힘 상태에서 전자 장치(801)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치는 상이할 수 있다.In various embodiments, when the
예컨대, 전자 장치(801)가 세로 모드 및 접힘 상태에서, 전자 장치(801)를 정면에서 바라볼 때의 제1 오디오 출력 장치(841) 및 제2 오디오 출력 장치(843)는 전자 장치(801)의 상단에 배치될 수 있고, 제3 오디오 출력 장치(845) 및 제4 오디오 출력 장치(847)는 전자 장치(801)의 하단 우측에 배치될 수 있다.For example, when the
다른 예를 들어, 전자 장치(801)가 가로 모드 및 접힘 상태에서, 전자 장치(801)를 정면에서 바라볼 때의 제1 오디오 출력 장치(841) 및 제2 오디오 출력 장치(843)는 전자 장치(801)의 우측에 배치될 수 있고, 제3 오디오 출력 장치(845) 및 제4 오디오 출력 장치(847)는 전자 장치(801)의 좌측에 배치될 수 있다. As another example, when the
다양한 실시예들에서, 전자 장치(801)는 전자 장치(801)의 방향 정보 및/또는 폴딩 상태에 따른 각 오디오 출력 장치(841, 843, 845, 또는 847)에서 최종 출력될 오디오 데이터의 채널 정보를, 각 오디오 출력 장치(841, 843, 845, 또는 847)에 전송할 수 있다. 예컨대, 오디오 데이터를 2채널의 오디오 데이터로 가정하여 설명하면, 전자 장치(801)는 전자 장치(801)의 방향 정보 및/또는 폴딩 상태에 기반하여, 제1 채널 또는 제2 채널의 오디오 데이터를 출력하도록, 오디오 데이터의 제1 채널 정보 또는 제2 채널 정보를 포함하는 채널 정보를 각 오디오 출력 장치(841, 843, 845, 또는 847)에 전송할 수 있다.In various embodiments, the
다양한 실시예들에 따른 전술한 전자 장치(801)의 방향 정보 및/또는 폴딩 상태에 따른 각 오디오 출력 장치(841, 843, 845, 또는 847)가 최종 출력될 오디오 데이터의 채널 정보를 각 오디오 출력 장치(841, 843, 845, 또는 847)에 전송하는 실시예와 관련하여, 후술하는 도 9 내지 도 10b에서 다양한 실시예들이 설명될 것이다. Each
도 9는, 다양한 실시예들에 따른, 폴더블 전자 장치(801)의 방향 정보 및/또는 폴딩 상태에 따른 멀티 채널의 오디오 데이터를 출력하는 방법을 설명하기 위한 흐름도(900)이다.9 is a
도 9를 참조하면, 전자 장치(예: 도 4의 전자 장치(401), 도 8의 전자 장치(801))의 프로세서(예: 도 4의 프로세서(460))(예: 도 4의 제1 프로세서(461))는 905동작에서, 오디오 데이터의 출력을 검출할 수 있다. 일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 미디어 어플리케이션(예: 도 5a의 미디어 어플리케이션(511))을 통해 출력되는 오디오 데이터를 처리하여 멀티 채널의 오디오 데이터를 생성할 수 있다. 예컨대, 멀티 채널의 오디오 데이터는, 2채널의 오디오 데이터로 가정하여 설명하면, 예컨대, 프로세서(460)는 오디오 데이터를 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터로 생성할 수 있다. Referring to FIG. 9 , a processor (eg, the
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 생성된 제1 채널(예: L 채널)의 오디오 데이터 및 제2 채널(예: R 채널)의 오디오 데이터를 플랫폼 계층(예: 도 5a의 플랫폼 계층(520)), 커널 계층(예: 도 5a의 커널 계층(530)), 및 오디오 계층(예: 도 5a의 오디오 계층(540))을 통해 입출력 장치(예: 도 5a의 입출력 장치(550))(예: 도 4의 제2 프로세서(463))에 전달할 수 있다.In an embodiment, the processor 460 (eg, the first processor 461 ) transmits the generated audio data of the first channel (eg, L channel) and the audio data of the second channel (eg, R channel) to the platform layer. (eg, the
일 실시예에서, 프로세서(460)는 910동작에서, 전자 장치(801)의 방향 정보 및/또는 폴딩 상태를 확인할 수 있다. 전자 장치(801)의 방향(orientation) 정보는 세로 모드(portrait mode) 및 가로 모드(landscape mode)를 포함할 수 있다. 전자 장치(801)의 폴딩 상태는, 펼침 상태 및 닫힘 상태를 포함할 수 있다.In an embodiment, in
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 센서 회로(예: 도 4의 센서 회로(430))(예: 가속도 센서, 지자계 센서, 및/또는 자이로 센서)를 통해 전자 장치(801)의 제1 측면(예: 도 8의 제1 측면(821, 831))이 향하는 방향을 결정하고, 이에 기반하여 전자 장치(801)의 방향 정보를 확인할 수 있다. 또한, 프로세서(460)(예: 제1 프로세서(461))는 센서 회로(430)(예: 근접 센서, IR(infrared) 센서, 홀 센서, 모션 센서, 각도 센서, 또는 조도 센서)를 통해 전자 장치(801)의 제1 하우징 구조(예: 도 8의 제1 하우징 구조(820)) 및 제2 하우징 구조(예: 도 8의 제2 하우징 구조(830)) 사이의 거리(또는 각도)에 기반하여 폴딩 상태(예: 펼침 상태, 접힘 상태, 또는 소정 각도의 펼침 상태)를 확인할 수 있다.In one embodiment, processor 460 (eg, first processor 461 ) includes sensor circuitry (eg,
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 915동작에서, 전자 장치(801)의 방향 정보 및/또는 폴딩 상태에 기반하여, 각 오디오 출력 장치에 최종 출력할 오디오 데이터의 채널 정보를 전송할 수 있다. 전자 장치(801)는 복수의 오디오 출력 장치들을 포함할 수 있다. 예컨대, 복수의 오디오 출력 장치들은, 제1 오디오 출력 장치(예: 도 8의 제1 오디오 출력 장치(841)), 제2 오디오 출력 장치(예: 도 8의 제2 오디오 출력 장치(843)), 제3 오디오 출력 장치(예: 도 8의 제3 오디오 출력 장치(845)), 제4 오디오 출력 장치(예: 도 8의 제4 오디오 출력 장치(847))를 포함할 수 있다. In an embodiment, the processor 460 (eg, the first processor 461 ) performs audio to be finally output to each audio output device based on direction information and/or a folding state of the
다양한 실시예들에서, 도 8a 및 도 8b에서 살펴본 바와 같이 전자 장치(801)가 세로 모드 및/또는 펼침 상태(또는 접힘 상태)에서 전자 장치(801)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치와 전자 장치(801)가 가로 모드 및/또는 펼침 상태(또는 접힘 상태)에서 전자 장치(801)를 정면에서 바라볼 때의 복수의 오디오 출력 장치들이 배치되는 위치는 상이할 수 있다.In various embodiments, as shown in FIGS. 8A and 8B , a plurality of audio outputs when the
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461)) 예컨대, 플랫폼 계층(520)의 오디오 하드웨어 추상화 계층(예: 도 5a의 오디오 하드웨어 추상화 계층(525))에 포함된 제어 모듈(예: 도 5a의 제어 모듈(527))은, 전자 장치(801)의 방향 정보 및/또는 폴딩 상태에 따른 복수의 오디오 출력 장치들(841, 843, 845, 847)을 제어하기 위한 제어 데이터 예컨대, 복수의 오디오 출력 장치들(841, 843, 845, 847)이 출력할 오디오 데이터의 채널 정보를 입출력 장치(550)(예: 제2 프로세서(463))에 전달할 수 있다.In one embodiment, a control module included in the processor 460 (eg, the first processor 461 ), eg, an audio hardware abstraction layer (eg, the audio
다양한 실시예들에서, 하기 <표 3> 내지 <표 6>과 같은 전자 장치(801)의 방향 정보 및/또는 폴딩 상태에 기반하여, 각 오디오 출력 장치(841, 843, 845, 847)가 배치된 위치에 따른 각 오디오 출력 장치(841, 843, 845, 847)에서 최종 출력할 오디오 데이터의 채널 정보는, 메모리(예: 도 4의 메모리(420))에 저장되어 있을 수 있다.In various embodiments, each
채널 정보of the final output audio data.
Channel information
채널 정보of the final output audio data.
Channel information
채널 정보of the final output audio data.
Channel information
(또는, 제2 채널(예: R 채널))1st channel (eg L channel)
(or the second channel (eg R channel))
(또는, 제2 채널(예: R 채널))1st channel (eg L channel)
(or the second channel (eg R channel))
(또는, 제1 채널(예: L 채널))2nd channel (e.g. R channel)
(or the first channel (eg L channel))
(또는, 제1 채널(예: L 채널))2nd channel (e.g. R channel)
(or the first channel (eg L channel))
채널 정보of the final output audio data.
Channel information
(또는, 제1 채널(예: L 채널))2nd channel (e.g. R channel)
(or the first channel (eg L channel))
(또는, 제1 채널(예: L 채널))2nd channel (e.g. R channel)
(or the first channel (eg L channel))
(또는, 제2 채널(예: R 채널))1st channel (eg L channel)
(or the second channel (eg R channel))
(또는, 제2 채널(예: R 채널))1st channel (eg L channel)
(or the second channel (eg R channel))
일 실시예에서, 프로세서(460)(예: 도 4의 제2 프로세서(463))는 920동작에서, 각 오디오 출력 장치에 전체 오디오 데이터를 전송하고, 채널 정보에 기반하여 각 오디오 출력 장치에서 최종 출력할 채널을 선택하여 오디오 데이터를 출력하도록 복수의 오디오 출력 장치들을 제어할 수 있다. 예컨대, 오디오 하드웨어 추상화 계층(525)에 포함된 제어 모듈(527)로부터 수신한 복수의 오디오 출력 장치들(841, 843, 845, 또는 847)이 출력할 오디오 데이터의 채널 정보(예: <표 3>, <표 4>, <표 5>, 또는 <표 6>)에 기반하여, 프로세서(460)(예: 제2 프로세서(463))는 각 오디오 출력 장치(841, 843, 845, 또는 847)가 해당 채널의 오디오 데이터를 출력하도록 제어할 수 있다.In an embodiment, the processor 460 (eg, the
예컨대, 전자 장치(801)가 세로 모드 및 펼침 상태인 경우, 프로세서(460)(예: 제2 프로세서(463))는 <표 3>에 기반하여, 제1 오디오 출력 장치(841) 및 제3 오디오 출력 장치(845)가 제1 채널의 오디오 데이터를 출력하도록 제어하고, 제2 오디오 출력 장치(843) 및 제4 오디오 출력 장치(847)가 제2 채널의 오디오 데이터를 출력하도록 제어할 수 있다.For example, when the
다른 예를 들어, 전자 장치(801)가 가로 모드 및 펼침 상태인 경우, 프로세서(460)(예: 제2 프로세서(463))는 <표 4>에 기반하여, 제3 오디오 출력 장치(845) 및 제4 오디오 출력 장치(847)가 제1 채널의 오디오 데이터를 출력하도록 제어하고, 제1 오디오 출력 장치(841) 및 제2 오디오 출력 장치(843)가 제2 채널의 오디오 데이터를 출력하도록 제어할 수 있다.As another example, when the
또 다른 예를 들어, 전자 장치(801)가 세로 모드 및 접힘 상태인 경우, 프로세서(460)(예: 제2 프로세서(463))는 <표 5>에 기반하여, 제이 경우, 프로세서(460)(예: 제2 프로세서(463))는 제1 오디오 출력 장치(841) 및 제2 오디오 출력 장치(843)가 제1 채널(또는, 제2 채널)의 오디오 데이터를 출력하도록 제어하고, 제3 오디오 출력 장치(845) 및 제4 오디오 출력 장치(847)가 제2 채널(또는, 제1 채널)의 오디오 데이터를 출력하도록 제어할 수 있다.As another example, when the
또 다른 예를 들어, 전자 장치(801)가 가로 모드 및 접힘 상태인 경우, 프로세서(460)(예: 제2 프로세서(463))는 <표 6>에 기반하여, 제3 오디오 출력 장치(845) 및 제4 오디오 출력 장치(847)가 제1 채널(또는, 제2 채널)의 오디오 데이터를 출력하도록 제어하고, 제1 오디오 출력 장치(841) 및 제2 오디오 출력 장치(843)가 제2 채널(또는, 제1 채널)의 오디오 데이터를 출력하도록 제어할 수 있다. As another example, when the
이에 한정하는 것은 아니며, 전자 장치(801)가 가로 모드 및 접힘 상태인 경우, 프로세서(460)(예: 제2 프로세서(463))는 제3 오디오 출력 장치(845) 및 제4 오디오 출력 장치(847) 중 하나의 오디오 출력 장치에 제1 채널(예: L 채널)(또는, 제2 채널(예: R 채널))의 오디오 데이터가 출력되도록 제어하고, 다른 하나의 오디오 출력 장치를 오프 상태로 제어할 수 있다. 전자 장치(801)가 가로 모드 및 접힘 상태인 경우, 프로세서(460)(예: 제2 프로세서(463))는 제1 오디오 출력 장치(841) 및 제2 오디오 출력 장치(843)에 중 하나의 오디오 출력 장치에 제2 채널(예: R 채널)(또는, 제1 채널(예: L 채널))의 오디오 데이터가 출력되도록 제어하고, 다른 하나의 오디오 출력 장치를 오프 상태로 제어할 수 있다.However, the present invention is not limited thereto, and when the
다양한 실시예들에 따른, <표 3> 내지 <표 6>에 따른 각 오디오 출력 장치가 최종 출력할 오디오 데이터의 채널 정보는 하나의 실시예로, 이에 한정하는 것은 아니다.According to various embodiments, channel information of audio data to be finally output by each audio output device according to <Table 3> to <Table 6> is an exemplary embodiment, but is not limited thereto.
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461))는 925동작에서, 전자 장치(801)의 방향 정보 및/또는 폴딩 상태의 변경을 검출하는지 여부를 결정할 수 있다. 예컨대, 전자 장치(801)의 방향 정보의 변경은, 세로 모드에서 가로 모드로 변경, 가로 모드에서 세로 모드로 변경을 포함할 수 있다. 전자 장치(801)의 폴딩 상태의 변경은, 펼침 상태에서 접힘 상태로 변경, 접힘 상태에서 펼침 상태로 변경을 포함할 수 있다.In an embodiment, the processor 460 (eg, the first processor 461 ) may determine whether to detect a change in direction information and/or a folding state of the
일 실시예예에서, 전자 장치(801)의 방향 정보 및/또는 폴딩 상태의 변경을 검출하지 않으면(예: 925동작의 NO), 프로세서(460)(예: 제1 프로세서(461))는 925동작을 계속해서 수행할 수 있다.In an embodiment, if a change in direction information and/or a folding state of the
일 실시예예에서, 전자 장치(801)의 방향 정보 및/또는 폴딩 상태의 변경을 검출하면(예: 925동작의 YES), 프로세서(460)(예: 제1 프로세서(461))는 930동작에서, 전자 장치(801)의 변경된 방향 정보 및/또는 폴딩 상태에 기반하여, 각 오디오 출력 장치에 최종 출력할 오디오 데이터의 변경된 채널 정보를 전송할 수 있다. 예컨대, 전자 장치(801)의 방향 정보 및/또는 폴딩 상태가 변경된 경우, 전자 장치(801)를 정면으로 바라볼 때의 복수의 오디오 출력 장치들(841, 843, 845, 및 847)이 배치되는 위치 정보 또한 변경될 수 있으며, 이에 따라 최종 출력할 오디오 데이터의 채널 정보 또한 변경될 수 있다.In an embodiment, when detecting a change in direction information and/or a folding state of the electronic device 801 (eg, YES in operation 925), the processor 460 (eg, the first processor 461) in
일 실시예에서, 프로세서(460)(예: 제1 프로세서(461)) 예컨대, 플랫폼 계층(520)의 오디오 하드웨어 추상화 계층(525)에 포함된 제어 모듈(527)은, 전자 장치(801)의 변경된 방향 정보 및/또는 폴딩 상태에 따라 복수의 오디오 출력 장치들(841, 843, 845, 847)을 제어하기 위한 변경된 제어 데이터 예컨대, 복수의 오디오 출력 장치들(841, 843, 845, 847)이 출력할 오디오 데이터의 변경된 채널 정보를 입출력 장치(550)(예: 제2 프로세서(463))에 전달할 수 있다.In an embodiment, the processor 460 (eg, the first processor 461 ), for example, the
일 실시예에서, 프로세서(460)는 935동작에서, 각 오디오 출력 장치에 전체 오디오 데이터를 전송하고, 변경된 채널 정보에 기반하여 각 오디오 출력 장치에서 최종 출력할 채널을 선택하여 오디오 데이터를 출력하도록 복수의 오디오 출력 장치들을 제어할 수 있다. 예컨대, 프로세서(460)(예: 제2 프로세서(463))는 오디오 하드웨어 추상화 계층(525)에 포함된 제어 모듈(527)로부터 수신한 변경된 전자 장치(801)의 방향 정보 및/또는 폴딩 상태에 따른 복수의 오디오 출력 장치들(841, 843, 845, 847)이 출력할 오디오 데이터의 변경된 채널 정보(예: <표 3> 내지 <표 6>)에 기반하여, 각 오디오 출력 장치(841, 843, 845, 847)가 해당 채널의 오디오 데이터를 출력하도록 복수의 오디오 출력 장치들(841, 843, 845, 및 847)을 제어할 수 있다.In an embodiment, the
다양한 실시예들에 따른 전자 장치(401)의 멀티 채널 오디오를 출력하는 방법은, 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치(401)의 방향 정보를 확인하는 동작, 상기 전자 장치(401)의 방향 정보에 기반하여, 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 각각이 출력할 오디오 데이터의 채널 정보를 각 오디오 출력 장치에 전송하는 동작, 및 상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))을 제어하는 동작을 포함할 수 있다.A method of outputting multi-channel audio from an
다양한 실시예들에 따른 전자 장치(401)의 멀티 채널 오디오를 출력하는 방법은, 상기 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 오디오 데이터를 멀티 채널의 오디오 데이터로 생성하는 동작을 더 포함할 수 있다.The method of outputting multi-channel audio from the
다양한 실시예들에서, 상기 멀티 채널의 오디오 데이터는, 제1 채널의 오디오 데이터 및 제2 채널의 오디오 데이터를 포함할 수 있다.In various embodiments, the multi-channel audio data may include audio data of a first channel and audio data of a second channel.
다양한 실시예들에 따른 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))을 제어하는 동작은, 상기 오디오 데이터의 채널 정보에 기반하여, 상기 멀티 채널의 오디오 데이터 중 상기 제1 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 적어도 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 일부의 오디오 출력 장치를 제어하는 동작, 및 상기 멀티 채널의 오디오 데이터 중 상기 제2 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 적어도 다른 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 다른 일부의 오디오 출력 장치를 제어하는 동작을 포함할 수 있다.The plurality of audio output devices (eg, a first
다양한 실시예들에 따른 전자 장치(401)의 멀티 채널 오디오를 출력하는 방법은, 상기 전자 장치(401)의 방향 정보의 변경을 검출하는 것에 기반하여, 상기 변경된 방향 정보에 따른 상기 각 오디오 출력 장치가 출력할 오디오 데이터의 변경된 채널 정보를 상기 각 오디오 출력 장치에 전송하는 동작, 및 상기 변경된 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))을 제어하는 동작을 더 포함할 수 있다.In a method of outputting multi-channel audio from an
다양한 실시예들에 따른 상기 변경된 채널 정보에 기반하여, 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))을 제어하는 동작은, 상기 오디오 데이터의 변경된 채널 정보에 기반하여, 상기 멀티 채널의 오디오 데이터 중 상기 제2 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 상기 적어도 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 일부의 오디오 출력 장치를 제어하는 동작, 및 상기 멀티 채널의 오디오 데이터 중 상기 제1 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 상기 적어도 다른 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 다른 일부의 오디오 출력 장치를 제어하는 동작을 포함할 수 있다.Based on the changed channel information according to various embodiments, the plurality of audio output devices (eg, a first
다양한 실시예들에서, 상기 전자 장치(401)는 폴더블 전자 장치(예: 도 4의 전자 장치(401), 도 8의 전자 장치(801))이고, 전자 장치의 멀티 채널 오디오를 출력하는 방법은, 상기 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치(801)의 폴딩 상태를 확인하는 동작을 더 포함할 수 있다.In various embodiments, the
다양한 실시예들에 따른 전자 장치(401)의 멀티 채널 오디오를 출력하는 방법은, 상기 전자 장치(401)의 방향 정보 및/또는 상기 폴딩 상태에 기반하여, 상기 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 제2 채널 정보를 상기 각 오디오 출력 장치에 전송하는 동작, 및 상기 제2 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))을 제어하는 동작을 더 포함할 수 있다.In the method of outputting multi-channel audio of the
다양한 실시예들에서, 상기 오디오 데이터의 채널 정보를 각 오디오 출력 장치에 전송하는 동작은, 상기 전자 장치(401)의 제1 프로세서(461)에 의해, 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447)) 각각이 출력할 오디오 데이터의 채널 정보를 상기 전자 장치(401)의 제2 프로세서(463)에 전송하는 동작을 포함할 수 있다.In various embodiments, the operation of transmitting the channel information of the audio data to each audio output device is performed by the
다양한 실시예들에서, 상기 복수의 오디오 출력 장치들(예: 제1 오디오 출력 장치(441), 제2 오디오 출력 장치(443), 제3 오디오 출력 장치(445), 및 제4 오디오 출력 장치(447))을 제어하는 동작은, 상기 제2 프로세서(463)에 의해, 상기 복수의 오디오 출력 장치들을 제어하여, 상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치에 설정된 채널의 오디오 데이터를 출력하는 동작을 포함할 수 있다.In various embodiments, the plurality of audio output devices (eg, a first
다양한 실시예들에서, 상기 전자 장치(401)의 방향 정보는, 세로 모드 및 가로 모드를 포함하며, 및 상기 전자 장치(401, 801)의 폴딩 상태는, 상기 전자 장치(401, 801)의 펼침 상태 및 접힘 상태를 포함할 수 있다.본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.In various embodiments, the direction information of the
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg,
일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly between smartphones (eg: smartphones) and online. In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.
401: 전자 장치
410: 통신 회로
420: 메모리
430: 센서 회로
440: 오디오 출력 장치
450: 터치스크린 디스플레이
460: 프로세서401: electronic device 410: communication circuit
420: memory 430: sensor circuit
440: audio output device 450: touch screen display
460: processor
Claims (20)
복수의 오디오 출력 장치들; 및
상기 복수의 오디오 출력 장치들과 작동적으로 연결된 프로세서를 포함하며,
상기 프로세서는,
오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치의 방향 정보를 확인하고,
상기 전자 장치의 방향 정보에 기반하여, 상기 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 채널 정보를 상기 각 오디오 출력 장치에 전송하고, 및
상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하도록 설정된 전자 장치.In an electronic device,
a plurality of audio output devices; and
a processor operatively coupled to the plurality of audio output devices;
The processor is
Based on detecting the output of the audio data, check the direction information of the electronic device,
Transmitting channel information of audio data to be output by each of the plurality of audio output devices to each audio output device based on the direction information of the electronic device, and
an electronic device configured to control the plurality of audio output devices so that each audio output device selects a channel and outputs audio data of the selected channel based on the channel information.
상기 프로세서는,
상기 오디오 데이터를 멀티 채널의 오디오 데이터로 생성하고, 및
상기 생성된 멀티 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들에 전달하도록 설정되고,
상기 멀티 채널의 오디오 데이터는, 제1 채널의 오디오 데이터 및 제2 채널의 오디오 데이터를 포함하는 전자 장치.The method of claim 1,
The processor is
generating the audio data as multi-channel audio data; and
configured to transmit the generated multi-channel audio data to the plurality of audio output devices;
The multi-channel audio data includes audio data of a first channel and audio data of a second channel.
상기 프로세서는,
상기 오디오 데이터의 채널 정보에 기반하여, 상기 멀티 채널의 오디오 데이터 중 상기 제1 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 적어도 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 일부의 오디오 출력 장치를 제어하고, 및
상기 멀티 채널의 오디오 데이터 중 상기 제2 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 적어도 다른 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 다른 일부의 오디오 출력 장치를 제어하도록 설정된 전자 장치.3. The method of claim 2,
The processor is
Output the at least part of the audio data to output the audio data of the first channel among the audio data of the multi-channel through at least some of the audio output devices among the plurality of audio output devices based on the channel information of the audio data control the device; and
an electronic device configured to control the at least some other audio output devices to output the second channel audio data among the multi-channel audio data through at least other audio output devices among the plurality of audio output devices.
상기 프로세서는,
상기 전자 장치의 방향 정보의 변경을 검출하는 것에 기반하여, 상기 변경된 방향 정보에 따른 상기 각 오디오 출력 장치가 출력할 오디오 데이터의 변경된 채널 정보를 상기 각 오디오 출력 장치에 전송하고, 및
상기 변경된 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하도록 설정된 전자 장치.4. The method of claim 3,
The processor is
Transmitting, to each audio output device, changed channel information of audio data to be output by each audio output device according to the changed direction information, to each audio output device based on detecting a change in the direction information of the electronic device, and
an electronic device configured to control the plurality of audio output devices so that each audio output device selects a channel and outputs audio data of the selected channel based on the changed channel information.
상기 프로세서는,
상기 오디오 데이터의 변경된 채널 정보에 기반하여, 상기 수신한 상기 멀티 채널의 오디오 데이터 중 상기 제2 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 상기 적어도 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 일부의 오디오 출력 장치를 제어하고, 및
상기 멀티 채널의 오디오 데이터 중 상기 제1 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 상기 적어도 다른 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 다른 일부의 오디오 출력 장치를 제어하도록 설정된 전자 장치.5. The method of claim 4,
The processor is
outputting the audio data of the second channel among the received multi-channel audio data through the at least some audio output devices among the plurality of audio output devices based on the changed channel information of the audio data; control at least some audio output devices, and
an electronic device configured to control the at least other audio output devices to output the first channel audio data among the multi-channel audio data through the at least other audio output devices among the plurality of audio output devices .
상기 전자 장치는, 폴더블 전자 장치를 포함하는 전자 장치.The method of claim 1,
The electronic device includes a foldable electronic device.
상기 전자 장치는 폴더블 전자 장치이고,
상기 프로세서는,
상기 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치의 폴딩 상태를 확인하도록 설정된 전자 장치.7. The method of claim 6,
The electronic device is a foldable electronic device,
The processor is
an electronic device configured to check a folding state of the electronic device based on detecting the output of the audio data.
상기 프로세서는,
상기 전자 장치의 방향 정보 및/또는 상기 폴딩 상태에 기반하여, 상기 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 제2 채널 정보를 상기 각 오디오 출력 장치에 전송하고, 및
상기 제2 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하도록 설정된 전자 장치.8. The method of claim 7,
The processor is
Transmitting second channel information of audio data to be output by each of the plurality of audio output devices to each audio output device based on the direction information and/or the folding state of the electronic device, and
an electronic device configured to control the plurality of audio output devices so that each audio output device selects a channel and outputs audio data of the selected channel based on the second channel information.
상기 프로세서는, 제1 프로세서 및 제2 프로세서를 포함하며,
상기 제1 프로세서는,
상기 전자 장치의 방향 정보에 기반하여, 상기 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 채널 정보를 상기 제2 프로세서에 전송하고,
상기 제2 프로세서는,
상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치에 설정된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하도록 설정된 전자 장치.The method of claim 1,
The processor includes a first processor and a second processor,
The first processor,
transmit channel information of audio data to be output by each of the plurality of audio output devices to the second processor based on the direction information of the electronic device;
The second processor,
an electronic device configured to control the plurality of audio output devices to output audio data of a channel set to each audio output device based on the channel information.
상기 제2 프로세서는,
상기 복수의 오디오 출력 장치들 각각에 포함되도록 설정된 전자 장치.10. The method of claim 9,
The second processor,
An electronic device configured to be included in each of the plurality of audio output devices.
상기 전자 장치의 방향 정보는, 세로 모드 및 가로 모드를 포함하며, 및
상기 전자 장치의 폴딩 상태는, 상기 전자 장치의 펼침 상태 및 접힘 상태를 포함하는 전자 장치.9. The method of claim 8,
The direction information of the electronic device includes a portrait mode and a landscape mode, and
The folded state of the electronic device includes an unfolded state and a folded state of the electronic device.
오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치의 방향 정보를 확인하는 동작;
상기 전자 장치의 방향 정보에 기반하여, 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 채널 정보를 각 오디오 출력 장치에 전송하는 동작; 및
상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하는 동작을 포함하는 방법.A method for outputting multi-channel audio in an electronic device, the method comprising:
checking direction information of the electronic device based on detecting the output of the audio data;
transmitting channel information of audio data to be output by each of a plurality of audio output devices to each audio output device based on direction information of the electronic device; and
and controlling the plurality of audio output devices so that each audio output device selects a channel and outputs audio data of the selected channel based on the channel information.
상기 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 오디오 데이터를 멀티 채널의 오디오 데이터로 생성하는 동작을 더 포함하며,
상기 멀티 채널의 오디오 데이터는, 제1 채널의 오디오 데이터 및 제2 채널의 오디오 데이터를 포함하는 방법.13. The method of claim 12,
Based on detecting the output of the audio data, the method further comprises generating the audio data as multi-channel audio data,
The multi-channel audio data includes audio data of a first channel and audio data of a second channel.
상기 복수의 오디오 출력 장치들을 제어하는 동작은,
상기 오디오 데이터의 채널 정보에 기반하여, 상기 멀티 채널의 오디오 데이터 중 상기 제1 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 적어도 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 일부의 오디오 출력 장치를 제어하는 동작; 및
상기 멀티 채널의 오디오 데이터 중 상기 제2 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 적어도 다른 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 다른 일부의 오디오 출력 장치를 제어하는 동작을 포함하는 방법.14. The method of claim 13,
The operation of controlling the plurality of audio output devices includes:
Output the at least part of the audio data to output the audio data of the first channel among the audio data of the multi-channel through at least some of the audio output devices among the plurality of audio output devices based on the channel information of the audio data controlling the device; and
and controlling the at least other audio output devices to output the second channel audio data among the multi-channel audio data through at least other audio output devices among the plurality of audio output devices. Way.
상기 전자 장치의 방향 정보의 변경을 검출하는 것에 기반하여, 상기 변경된 방향 정보에 따른 상기 각 오디오 출력 장치가 출력할 오디오 데이터의 변경된 채널 정보를 상기 각 오디오 출력 장치에 전송하는 동작; 및
상기 변경된 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하는 동작을 더 포함하는 방법.15. The method of claim 14,
transmitting, to each audio output device, changed channel information of audio data to be output by each audio output device according to the changed direction information, based on detecting a change in the direction information of the electronic device; and
and controlling the plurality of audio output devices so that each audio output device selects a channel and outputs audio data of the selected channel based on the changed channel information.
상기 변경된 채널 정보에 기반하여, 상기 복수의 오디오 출력 장치들을 제어하는 동작은,
상기 오디오 데이터의 변경된 채널 정보에 기반하여, 상기 멀티 채널의 오디오 데이터 중 상기 제2 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 상기 적어도 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 일부의 오디오 출력 장치를 제어하는 동작; 및
상기 멀티 채널의 오디오 데이터 중 상기 제1 채널의 오디오 데이터를 상기 복수의 오디오 출력 장치들 중 상기 적어도 다른 일부의 오디오 출력 장치를 통해 출력하도록, 상기 적어도 다른 일부의 오디오 출력 장치를 제어하는 동작을 포함하는 방법.16. The method of claim 15,
The operation of controlling the plurality of audio output devices based on the changed channel information includes:
outputting the audio data of the second channel among the multi-channel audio data through the at least some audio output devices among the plurality of audio output devices based on the changed channel information of the audio data; controlling the audio output device; and
and controlling the at least other audio output devices to output the first channel audio data among the multi-channel audio data through the at least other audio output devices among the plurality of audio output devices. How to.
상기 전자 장치는 폴더블 전자 장치이고, 상기 오디오 데이터의 출력을 검출하는 것에 기반하여, 상기 전자 장치의 폴딩 상태를 확인하는 동작을 더 포함하는 방법.13. The method of claim 12,
The electronic device is a foldable electronic device, and the method further comprising: checking a folding state of the electronic device based on detecting the output of the audio data.
상기 전자 장치의 방향 정보 및/또는 상기 폴딩 상태에 기반하여, 상기 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 제2 채널 정보를 상기 각 오디오 출력 장치에 전송하는 동작; 및
상기 제2 채널 정보에 기반하여, 상기 각 오디오 출력 장치가 채널을 선택하여 선택된 채널의 오디오 데이터를 출력하도록 상기 복수의 오디오 출력 장치들을 제어하는 동작을 더 포함하는 방법.18. The method of claim 17,
transmitting second channel information of audio data to be output by each of the plurality of audio output devices to each audio output device based on direction information of the electronic device and/or the folding state; and
and controlling the plurality of audio output devices so that each audio output device selects a channel and outputs audio data of the selected channel based on the second channel information.
상기 오디오 데이터의 채널 정보를 각 오디오 출력 장치에 전송하는 동작은,
상기 전자 장치의 제1 프로세서에 의해, 상기 복수의 오디오 출력 장치들 각각이 출력할 오디오 데이터의 채널 정보를 상기 전자 장치의 제2 프로세서에 전송하는 동작을 포함하며,
상기 복수의 오디오 출력 장치들을 제어하는 동작은,
상기 제2 프로세서에 의해, 상기 복수의 오디오 출력 장치들을 제어하여, 상기 채널 정보에 기반하여, 상기 각 오디오 출력 장치에 설정된 채널의 오디오 데이터를 출력하는 동작을 포함하는 방법.13. The method of claim 12,
The operation of transmitting channel information of the audio data to each audio output device includes:
transmitting, by the first processor of the electronic device, channel information of audio data to be output by each of the plurality of audio output devices to a second processor of the electronic device,
The operation of controlling the plurality of audio output devices includes:
and controlling, by the second processor, the plurality of audio output devices to output audio data of a channel set to each audio output device based on the channel information.
상기 전자 장치의 방향 정보는, 세로 모드 및 가로 모드를 포함하며, 및
상기 전자 장치의 폴딩 상태는, 상기 전자 장치의 펼침 상태 및 접힘 상태를 포함하는 방법.18. The method of claim 17,
The direction information of the electronic device includes a portrait mode and a landscape mode, and
The folded state of the electronic device includes an unfolded state and a folded state of the electronic device.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/KR2021/016995 WO2022119194A1 (en) | 2020-12-03 | 2021-11-18 | Electronic device and multichannel audio output method using same |
US18/183,477 US20230217169A1 (en) | 2020-12-03 | 2023-03-14 | Electronic device and multichannel audio output method using same |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200167462 | 2020-12-03 | ||
KR20200167462 | 2020-12-03 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20220078432A true KR20220078432A (en) | 2022-06-10 |
Family
ID=81986507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020210013650A KR20220078432A (en) | 2020-12-03 | 2021-01-29 | Electronic device and method for outputting multi-channel audio using the same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20220078432A (en) |
-
2021
- 2021-01-29 KR KR1020210013650A patent/KR20220078432A/en active Search and Examination
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022030893A1 (en) | Electronic device for supporting audio sharing | |
US11303979B2 (en) | Electronic device including multi-channel speaker system | |
KR20220039085A (en) | Foldable electronic device for displaying various types of content and operating method thereof | |
US20230217169A1 (en) | Electronic device and multichannel audio output method using same | |
KR20220101856A (en) | Electronic device and method for providing user interface | |
US12094492B2 (en) | Electronic device, and method of synchronizing video data and audio data by using same | |
KR20220078432A (en) | Electronic device and method for outputting multi-channel audio using the same | |
KR20220136778A (en) | Electronic device for supporting audio sharing | |
KR20220101789A (en) | Electronic device and operation method thereof | |
KR20220040038A (en) | The method for processing input data and the electronic device supporting the same | |
KR20220016552A (en) | The method for processing data and the electronic device supporting the same | |
KR20220077363A (en) | Electronic device including air vent | |
KR20220013630A (en) | Electronic device for converting number of channels of audio and method for the same | |
US20220329937A1 (en) | Electronic device including flexible printed circuit board | |
US20230199103A1 (en) | Method of controlling content playing device and electronic device performing the method | |
KR20230021846A (en) | Electronic device for controlling noise caused by radio frequency communication and operating method thereof | |
KR20240050951A (en) | Electronic device and method of operation thereof | |
KR20230116334A (en) | Method for providing screen and electronic device supporting the same | |
KR20240027500A (en) | Electronic device comprising plurality of speakers | |
KR20220140252A (en) | Battery pack structure and housing structure of electronic device including the same | |
KR20220164963A (en) | Speaker module and electronic device including the same | |
KR20230023486A (en) | Electronic device providing a combination of a plurality of vivration patterns and method of operation therof | |
KR20230029032A (en) | Electronic device including air vent hole | |
KR20230112303A (en) | Electronic device method for controlling picture in picture window in the electronic device | |
KR20230043549A (en) | Method for displaying execution screen of application and electronic device supporting the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination |