Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
255cf03a
Commit
255cf03a
authored
Feb 25, 2014
by
Lukasz Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd/pulse_audio_dec: implement get_device_list callback
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki@gmail.com
>
parent
85ed32d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
pulse_audio_dec.c
libavdevice/pulse_audio_dec.c
+7
-0
No files found.
libavdevice/pulse_audio_dec.c
View file @
255cf03a
...
...
@@ -147,6 +147,12 @@ static av_cold int pulse_close(AVFormatContext *s)
return
0
;
}
static
int
pulse_get_device_list
(
AVFormatContext
*
h
,
AVDeviceInfoList
*
device_list
)
{
PulseData
*
s
=
h
->
priv_data
;
return
ff_pulse_audio_get_devices
(
device_list
,
s
->
server
,
0
);
}
#define OFFSET(a) offsetof(PulseData, a)
#define D AV_OPT_FLAG_DECODING_PARAM
...
...
@@ -176,6 +182,7 @@ AVInputFormat ff_pulse_demuxer = {
.
read_header
=
pulse_read_header
,
.
read_packet
=
pulse_read_packet
,
.
read_close
=
pulse_close
,
.
get_device_list
=
pulse_get_device_list
,
.
flags
=
AVFMT_NOFILE
,
.
priv_class
=
&
pulse_demuxer_class
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment